Androidアプリ開発のLayoutのサンプルコード

Javaコード:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:RangeSeekBar="http://schemas.android.com/apk/res/diy.example.location"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ViewLocPathActivity" >

<diy.example.location.RangeSeekBar
android:id="@+id/seekPath"
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="50dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
RangeSeekBar:thumb="@drawable/thumb"
RangeSeekBar:track="@drawable/trackgradient"
RangeSeekBar:range="@drawable/rangegradient"
RangeSeekBar:thumbs="2″ />

</RelativeLayout>

Android

Posted by arkgame