Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • infrastruktur/warppay-app
  • HoelShare/warppay-app
2 results
Show changes
Showing
with 717 additions and 30 deletions
......@@ -2,21 +2,44 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal" >
android:orientation="horizontal">
<TextView
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Medium Text"
android:id="@+id/txtOrderValue" />
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView
android:id="@+id/txtOrderName"
android:layout_width="213dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="Large Text"
android:maxLines="1"
android:textSize="22sp" />
<Space
android:layout_width="15dp"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/txtOrderValue"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="1.00 Euro"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textSize="22sp" />
<ImageButton
</LinearLayout>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/btnDelete"
android:id="@+id/btnRemoveOrder"
android:layout_width="20dp"
android:layout_height="fill_parent"
android:contentDescription="@string/app_name"
android:onClick="removeOrderOnClickHandler"
android:src="@android:drawable/ic_menu_delete"
android:layout_gravity="right" />
android:background="@color/flatui_red"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<Space
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_weight="0.38" />
<TextView
android:id="@+id/txtTotalAmountConfirm"
android:layout_width="644dp"
android:layout_height="wrap_content"
android:text="@string/txtTotalAmountConfirm"
android:textSize="50sp" />
<Space
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_weight="0.38" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.38"
android:orientation="horizontal">
<Button
android:id="@+id/btnCash"
style="@style/ButtonText"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_column="1"
android:layout_row="3"
android:layout_weight="1"
android:width="10dp"
android:background="@color/flatui_blue"
android:text="@string/btnCash" />
<Space
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0.34" />
<Button
android:id="@+id/btnCredit"
style="@style/ButtonText"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_column="1"
android:layout_row="3"
android:layout_weight="1"
android:width="10dp"
android:background="@color/flatui_blue"
android:text="@string/btnCredit" />
</LinearLayout>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Space
android:layout_width="60dp"
android:layout_height="175dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.38"
android:orientation="vertical">
<Space
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_weight="0.38" />
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/pinCodeDialog"
android:textSize="18sp"
android:textStyle="bold" />
<Space
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_weight="0.38" />
<EditText
android:id="@+id/etxtPinCode"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.38"
android:ems="10"
android:inputType="numberPassword"
android:textAlignment="center"
android:textAllCaps="false" />
<Space
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_weight="0.38" />
<Button
android:id="@+id/btnSumit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.38"
android:background="@color/flatui_green"
android:text="Submit" />
<Space
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_weight="0.38" />
</LinearLayout>
<Space
android:layout_width="60dp"
android:layout_height="175dp"
android:layout_weight="1" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<GridLayout
android:id="@+id/gridProductDialog"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="left"
android:orientation="horizontal"
android:layout_marginBottom="0dp"
android:layout_marginEnd="0dp"
android:layout_marginLeft="0dp"
android:layout_marginRight="0dp"
android:layout_marginStart="0dp"
android:layout_marginTop="0dp"
android:columnCount="5"
android:paddingBottom="0dp"
android:paddingEnd="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingStart="0dp"
android:paddingTop="0dp"
android:rowCount="5">
</GridLayout>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView
android:id="@+id/txtProductName"
android:layout_width="247dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="Large Text"
android:textAppearance="@android:style/TextAppearance.Material.Large"
android:textSize="30sp" />
<TextView
android:id="@+id/txtProductPrice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="1.00 Euro"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textSize="30sp" />
</LinearLayout>
<ImageButton
android:id="@+id/imageButton"
android:layout_width="234dp"
android:layout_height="63dp"
android:onClick="removeOrderOnClickHandler"
/>
</LinearLayout>
\ No newline at end of file
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:stretchColumns="1">
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/abc_input_method_navigation_guard">
<TextView
android:text="@string/rest_config_header"
android:padding="3dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:stretchColumns="2"
android:textColor="@android:color/white" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:text="@string/rest_service"
android:padding="3dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/txtApiUrl" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:text=""
android:padding="3dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/editText3" />
</TableRow>
<TableRow>
<Space
android:layout_width="20px"
android:layout_height="20px" />
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/save"
android:id="@+id/btnSave" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/abort"
android:id="@+id/btnAbort" />
</LinearLayout>
</TableRow>
</TableLayout>
\ No newline at end of file
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" tools:context=".MainActivity">
<item
android:id="@+id/action_settings"
android:title="Settings" />
xmlns:tools="http://schemas.android.com/tools" tools:context="ms.warpzone.warppay.MainActivity">
<item
android:id="@+id/action_new_user"
android:orderInCategory="100"
android:id="@+id/action_learn_card_id"
android:orderInCategory="200"
android:icon="@drawable/ic_menu_refresh"
android:title="@string/addNewUser" />
android:title="@string/lernCardId" />
<item
android:id="@+id/action_learn_barcode"
android:orderInCategory="200"
android:icon="@drawable/ic_menu_refresh"
android:title="@string/lernBarcodes" />
<!--
<item
android:id="@+id/action_exit"
android:orderInCategory="200"
android:icon="@drawable/ic_menu_refresh"
android:title="Exit" />
-->
</menu>
File added
File added
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="flatui_red">#e74c3c</color>
<color name="flatui_blue">#2980b9</color>
<color name="flatui_green">#27ae60</color>
<color name="flatui_yellow">#f1c40f</color>
</resources>
\ No newline at end of file
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
</style>
......
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
classpath 'com.android.tools.build:gradle:2.3.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
dependencies {
}
This diff is collapsed.