MyTetra Share
Делитесь знаниями!
list_item_crime.xml
20.04.2017
15:53
Раздел: Android - books - AndroidProgramming2e - 9 Вывод списков и ListFragment
list_item_crime.xml


<?xml version="1.0" encoding="utf-8"?> 
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    xmlns:tools="http://schemas.android.com/tools" 
    android:layout_width="match_parent" 
    android:layout_height="wrap_content"> 
 
    <CheckBox 
        android:id="@+id/list_item_crime_solved_check_box" 
        android:layout_width="wrap_content" 
        android:layout_height="wrap_content" 
        android:layout_alignParentRight="true" 
        android:padding="4dp" /> 
 
    <TextView 
        android:id="@+id/list_item_crime_title_text_view" 
        android:layout_width="match_parent" 
        android:layout_height="wrap_content" 
        android:layout_toLeftOf="@id/list_item_crime_solved_check_box" 
        android:padding="4dp" 
        android:textStyle="bold" 
        tools:text="Crime Title" /> 
 
    <TextView 
        android:id="@+id/list_item_crime_date_text_view" 
        android:layout_width="match_parent" 
        android:layout_height="wrap_content" 
        android:layout_below="@id/list_item_crime_title_text_view" 
        android:layout_toLeftOf="@id/list_item_crime_solved_check_box" 
        android:padding="4dp" 
        tools:text="Crime Date" /> 
 
</RelativeLayout>
 
MyTetra Share v.0.52
Яндекс индекс цитирования