MyTetra Share
Делитесь знаниями!
fragment_crime.xml land
17.04.2017
10:04
Раздел: Android - books - AndroidProgramming2e - 8 Макеты и виджеты
fragment_crime.xml

fragment_crime.xml

<?xml version="1.0" encoding="utf-8"?> 
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
              android:orientation="vertical" 
              android:layout_width="match_parent" 
              android:layout_height="match_parent"> 
 
    <TextView 
        android:layout_width="match_parent" 
        android:layout_height="wrap_content" 
        android:text="@string/crime_title_label" 
        style="?android:listSeparatorTextViewStyle"/> 
 
    <EditText 
        android:id="@+id/crime_title" 
        android:layout_width="match_parent" 
        android:layout_height="wrap_content" 
        android:layout_marginLeft="16dp" 
        android:layout_marginRight="16dp" 
        android:hint="@string/crime_title_hint"/> 
 
    <TextView 
        android:layout_width="match_parent" 
        android:layout_height="wrap_content" 
        android:text="@string/crime_details_label" 
        style="?android:listSeparatorTextViewStyle"/> 
 
    <LinearLayout 
        android:orientation="horizontal" 
        android:layout_width="match_parent" 
        android:layout_height="wrap_content" 
        android:layout_marginLeft="16dp" 
        android:layout_marginRight="16dp"> 
 
        <Button 
            android:id="@+id/crime_date" 
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content" 
            android:layout_weight="1"/> 
 
        <CheckBox 
            android:id="@+id/crime_solved" 
            android:layout_width="match_parent" 
            android:layout_height="wrap_content" 
            android:text="@string/crime_solved_label" 
            android:layout_weight="1"/> 
    </LinearLayout> 
 
</LinearLayout>
 
MyTetra Share v.0.52
Яндекс индекс цитирования