Facebook
From ja, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 280
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     android:id="@+id/add_person_layout"
  4.     android:layout_width="match_parent"
  5.     android:layout_height="match_parent"
  6.     android:padding="8dp"
  7.     android:background="@drawable/border_ui">
  8.  
  9.  
  10.     <EditText
  11.         android:id="@+id/degrees_to_fill_EditText"
  12.         android:layout_width="match_parent"
  13.         android:layout_height="wrap_content"
  14.         android:gravity="center"
  15.         android:hint="wprowadź stopień"
  16.         android:textSize="17sp"
  17.         android:textColor="@color/colorPrimaryDark"
  18.         android:layout_centerHorizontal="true"
  19.         android:enabled="true"/>
  20.     <TextView
  21.         android:id="@+id/degrees_TextView"
  22.         android:layout_width="wrap_content"
  23.         android:layout_height="wrap_content"
  24.         android:gravity="center"
  25.         android:text="Stopnie"
  26.         android:textStyle="bold"
  27.         android:textSize="17sp"
  28.         android:textColor="@color/colorPrimaryDark"
  29.         android:layout_below="@+id/degrees_to_fill_EditText"
  30.         android:layout_centerHorizontal="true"
  31.         android:layout_marginBottom="10dp"
  32.         android:layout_marginTop="10dp"/>
  33.  
  34.     <ListView
  35.         android:id="@+id/degrees_list"
  36.         android:layout_width="wrap_content"
  37.         android:layout_height="225dp"
  38.         android:layout_below="@id/degrees_TextView"
  39.         android:divider="@color/colorPrimaryDark"
  40.         android:dividerHeight="1dp"
  41.         android:listSelector="@color/colorLight"
  42.         />
  43.  
  44.  
  45.     <Button
  46.         android:id="@+id/save_degree_button"
  47.         android:layout_width="match_parent"
  48.         android:layout_height="wrap_content"
  49.         android:text="@string/save"
  50.         android:textColor="@color/colorWhite"
  51.         android:background="@drawable/save_button"
  52.         android:layout_below="@+id/degrees_list"
  53.         android:layout_centerHorizontal="true"
  54.         android:layout_marginLeft="20dp"
  55.         android:layout_marginRight="20dp"
  56.         android:layout_marginTop="10dp"
  57.         android:layout_marginBottom="10dp"/>
  58.  
  59. </RelativeLayout>