Skip to content

Instantly share code, notes, and snippets.

@redtripleAAA
Last active January 27, 2018 02:07
Show Gist options
  • Save redtripleAAA/9438e0f8db8bbb8ee23e094bb6f371aa to your computer and use it in GitHub Desktop.
Save redtripleAAA/9438e0f8db8bbb8ee23e094bb6f371aa to your computer and use it in GitHub Desktop.
android-visualizer - sample -
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:text="Happy Birthday!, Anas مرحبا يا أهلا وسهلا ... كل المراحب يا باشا ... أجمل تحية"
android:background="@android:color/darker_gray"
android:textStyle="bold"
android:layout_width="wrap_content"
android:layout_height="120dp"
android:layout_weight="1"
android:textAppearance="?android:textAppearanceLarge" />
<TextView
android:text="Hello Anas"
android:background="#D32F2F"
android:layout_width="wrap_content"
android:layout_height="120dp"
android:layout_weight="1"
android:textAppearance="?android:textAppearanceLarge" />
<TextView
android:text="Ola Amigo"
android:background="#D3FF2F"
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:textAppearance="?android:textAppearanceLarge" />
<ImageView
android:src="@drawable/android"
android:layout_width="500dp"
android:layout_height="200dp"
android:layout_weight="1"
android:scaleType="center"/>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment