Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
android-basico-ejericicio-b1
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello">
</TextView>
<CheckBox
android:id="@+id/enableViews"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/enableViews"
android:checked="false">
</CheckBox>
<TextView
android:id="@+id/eventsTextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:maxLines="2"
android:minLines="2">
</TextView>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.