Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/LinearLayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:background="@drawable/blue_gradient"
- android:paddingBottom="@dimen/activity_vertical_margin"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- tools:context=".Calculator" >
- <TextView
- android:id="@+id/textView1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/grey_gradient"
- android:gravity="center"
- android:text="Payment Factor Table"
- android:textAppearance="?android:attr/textAppearanceLarge"
- tools:ignore="HardcodedText" />
- <TabHost
- android:id="@android:id/tabhost"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/white" >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
- <TabWidget
- android:id="@android:id/tabs"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- </TabWidget>
- <FrameLayout
- android:id="@android:id/tabcontent"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="10dp" >
- <ScrollView
- android:id="@+id/calculator"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- <TableLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:shrinkColumns="1" >
- <TableRow
- android:id="@+id/tableRow2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="2dp"
- android:background="@color/AliceBlue" >
- <TextView
- android:id="@+id/textView3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Equipment Cost" />
- <EditText
- android:id="@+id/equipment"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:ems="10"
- android:inputType="numberDecimal" />
- </TableRow>
- <TableRow
- android:id="@+id/tableRow3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" >
- <TextView
- android:id="@+id/textView4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_span="2"
- android:text="* Before taxes, but including shipping and any soft costs." />
- </TableRow>
- <TableRow
- android:id="@+id/tableRow4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="2dp"
- android:background="@color/AliceBlue" >
- <TextView
- android:id="@+id/textField"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:text="Term" />
- <Spinner
- android:id="@+id/term"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:entries="@array/term"
- android:prompt="@string/termPrompt" />
- </TableRow>
- <TableRow
- android:id="@+id/tableRow5"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="2dp"
- android:background="@color/AliceBlue" >
- <TextView
- android:id="@+id/textView6"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:text="End of Term Option" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" >
- <RadioButton
- android:id="@+id/eot"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="$10"
- tools:ignore="TooDeepLayout" />
- <RadioButton
- android:id="@+id/radioButton1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="10%" />
- </LinearLayout>
- </TableRow>
- <TableRow
- android:id="@+id/tableRow6"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="2dp"
- android:background="@color/AliceBlue" >
- <TextView
- android:id="@+id/textView7"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Payment" />
- <EditText
- android:id="@+id/payment"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:ems="10"
- android:inputType="numberDecimal" />
- </TableRow>
- <TableRow
- android:id="@+id/tableRow7"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" >
- <TextView
- android:id="@+id/textView8"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_span="3"
- android:text="* Plus all applicable taxes" />
- </TableRow>
- </TableLayout>
- <LinearLayout
- android:id="@+id/LinearLayout1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center" >
- <Button
- android:id="@+id/reset"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="5dp"
- android:background="@color/FireBrick"
- android:text="Reset"
- android:textColor="@color/white" />
- <Button
- android:id="@+id/amort"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="5dp"
- android:background="@color/Orange"
- android:text="Amort"
- android:textColor="@color/white" />
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
- <LinearLayout
- android:id="@+id/home"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- </LinearLayout>
- <LinearLayout
- android:id="@+id/faq"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
- </LinearLayout>
- </FrameLayout>
- </LinearLayout>
- </TabHost>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement