No changes between revisions
/Android Development/IOIORobotics/res/layout/main.xml |
0,0 → 1,42 |
<?xml version="1.0" encoding="utf-8"?> |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
android:layout_width="match_parent" |
android:layout_height="match_parent" |
android:orientation="vertical" > |
+ |
+ <LinearLayout |
+ android:id="@+id/statusLayout" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" > |
+ |
+ <TextView |
+ android:id="@+id/statusText" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:layout_weight="1" |
+ android:text="Status Text" |
+ android:textAppearance="?android:attr/textAppearanceSmall" /> |
+ |
+ <ProgressBar |
+ android:id="@+id/progressBar" |
+ style="?android:attr/progressBarStyleSmall" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" /> |
+ |
+ </LinearLayout> |
+ |
+ <com.viewpagerindicator.TitlePageIndicator |
+ android:id="@+id/indicator" |
+ android:layout_width="fill_parent" |
+ android:layout_height="wrap_content" /> |
+ <android.support.v4.view.ViewPager |
+ android:id="@+id/viewpager" |
+ android:layout_width="fill_parent" |
+ android:layout_height="wrap_content" |
+ android:layout_weight="1" /> |
+ |
+</LinearLayout> |
\ No newline at end of file |
/Android Development/IOIORobotics/res/xml/settings.xml |
0,0 → 1,9 |
<?xml version="1.0" encoding="utf-8"?> |
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > |
<CheckBoxPreference android:key="pref_StartInDebug" android:title="Start in Debug Mode" android:defaultValue="true"/> |
<EditTextPreference android:key="pref_GraphLength" android:title="Graph History Length" android:defaultValue="100" android:dialogTitle="Graph History Length" android:dialogMessage="Enter number of data points to show"/> |
<EditTextPreference android:key="pref_UpdateInterval" android:title="Graph Update Interval" android:dialogTitle="Graph Update Interval" android:dialogMessage="Enter interval in milliseconds (ms)" android:defaultValue="100"/> |
|
|
|
</PreferenceScreen> |