Created
May 9, 2019 10:42
-
-
Save jddeep/189fb8ae126948648c42347237a0fe9f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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="match_parent" | |
android:paddingBottom="@dimen/activity_vertical_margin" | |
android:paddingStart="@dimen/activity_main_left" | |
android:paddingEnd="@dimen/activity_main_right" | |
android:paddingTop="@dimen/activity_vertical_margin" | |
android:descendantFocusability="beforeDescendants" | |
android:focusableInTouchMode="true" | |
tools:context=".activities.MainActivity" | |
android:background="@android:color/white"> | |
<ListView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_alignParentTop="true" | |
android:id="@+id/lvDisplay" | |
android:layout_above="@+id/imgTick" /> | |
<android.support.design.widget.FloatingActionButton | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/fab" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="bottom|end" | |
android:src="@android:drawable/ic_input_add" | |
android:tint="@android:color/white" | |
app:backgroundTint="@color/colorPrimary" | |
android:onClick="onAddFull" | |
android:layout_alignEnd="@+id/lvDisplay" | |
android:layout_alignBottom="@+id/etAddText" | |
android:layout_alignParentEnd="true" /> | |
<ImageView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/imgTick" | |
android:clickable="true" | |
android:visibility="invisible" | |
android:onClick="onTickClick" | |
android:src="@drawable/tick" | |
android:contentDescription="@string/click_image" | |
android:layout_alignBottom="@+id/etAddText" | |
android:layout_alignEnd="@+id/lvDisplay" | |
android:layout_alignTop="@+id/etAddText" | |
android:layout_alignParentEnd="true" /> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment