Skip to content

Instantly share code, notes, and snippets.

@sakdaped200
Last active October 5, 2015 04:41
Show Gist options
  • Save sakdaped200/ed1d9ac4fee0ed0bd6e0 to your computer and use it in GitHub Desktop.
Save sakdaped200/ed1d9ac4fee0ed0bd6e0 to your computer and use it in GitHub Desktop.
Demo-SwipeViewTap :: Source Code :: สร้าง layout แบบเดียวกันนี้อีก 2 ตัว คืด movies_fragment.xml, toprate_fragment.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:background="#ffdd9b2a"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:gravity="center"
android:textStyle="bold|italic"
android:textSize="30sp"
android:text="Games Fragment" // เปลี่ยนข้อความ เป็น movies, toprate
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment