JavascriptProva

mercoledì 14 dicembre 2016

Sliding Up Panel

Mi salvo il codice per lo Sliding Panel.
Questo è il link
<?xml version="1.0" encoding="utf-8"?>
<com.sothree.slidinguppanel.SlidingUpPanelLayout
    xmlns:sothree="http://schemas.android.com/apk/res-auto"
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/sliding_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="top"
    sothree:umanoPanelHeight="20dp"
    sothree:umanoShadowHeight="10dp">
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:background="#FFAAAA"
        android:layout_height="match_parent"
        android:layout_width="match_parent">

        <TextView
            android:text="Base"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/textView4"
            android:layout_weight="1" />


    </LinearLayout>


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:background="#AAFFFF"
    android:layout_height="match_parent"
    android:layout_width="match_parent">
    <TextView
        android:text="Pannello"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/textView5"
        android:layout_weight="1" />




</LinearLayout>

</com.sothree.slidinguppanel.SlidingUpPanelLayout> 

Nessun commento:

Posta un commento