app/src/main/res/layout/activity_add.xml (2417 bytes)
1 <?xml version="1.0" encoding="utf-8"?> 2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match_parent" 4 android:layout_height="wrap_content"> 5 6 <LinearLayout 7 android:layout_width="match_parent" 8 android:layout_height="wrap_content" 9 android:orientation="vertical" 10 android:padding="16dp"> 11 12 <EditText 13 android:id="@+id/url" 14 android:layout_width="match_parent" 15 android:layout_height="wrap_content" 16 android:hint="@string/url" 17 android:importantForAutofill="no" 18 android:inputType="textUri" /> 19 20 <EditText 21 android:id="@+id/desc" 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 android:hint="@string/desc" 25 android:importantForAutofill="no" 26 android:inputType="textCapSentences" /> 27 28 <EditText 29 android:id="@+id/tags" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:hint="@string/tags" 33 android:importantForAutofill="no" 34 android:inputType="text|textNoSuggestions" /> 35 36 <TextView 37 android:id="@+id/known" 38 android:layout_width="match_parent" 39 android:layout_height="wrap_content" 40 android:paddingHorizontal="4dp" 41 android:textAppearance="?android:attr/textAppearanceSmall" 42 android:textColor="?android:attr/textColorSecondary" /> 43 44 <LinearLayout 45 android:layout_width="match_parent" 46 android:layout_height="wrap_content" 47 android:gravity="end" 48 android:orientation="horizontal" 49 android:paddingTop="8dp"> 50 51 <Button 52 android:id="@+id/cancel" 53 style="?android:attr/buttonBarButtonStyle" 54 android:layout_width="wrap_content" 55 android:layout_height="wrap_content" 56 android:text="@android:string/cancel" /> 57 58 <Button 59 android:id="@+id/save" 60 style="?android:attr/buttonBarButtonStyle" 61 android:layout_width="wrap_content" 62 android:layout_height="wrap_content" 63 android:text="@string/save" /> 64 </LinearLayout> 65 </LinearLayout> 66 </ScrollView>