Last active
March 2, 2019 13:11
-
-
Save makorowy/9a7e5473df32ecf1b8a7da36764106f6 to your computer and use it in GitHub Desktop.
Sample for article needs - How to create a compound view?
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout 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:gravity="center" | |
android:orientation="vertical" | |
tools:context=".MainActivity"> | |
<include | |
layout="@layout/consents_view" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"/> | |
<Button | |
android:id="@+id/confirmButton" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginStart="48dp" | |
android:layout_marginTop="16dp" | |
android:layout_marginEnd="48dp" | |
android:enabled="false" | |
android:text="@string/confirm" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment