DT @13.12.2015: TabbedWorkflow in Profile eingebaut und ReportListActivity daher gestrichen. Rearranged and Reformated Code of all XML-Files
This commit is contained in:
@@ -1,132 +1,132 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:fontawesometext="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:background="@color/bg_login"
|
||||
android:padding="20dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:padding="20dp"
|
||||
tools:context=".LoginActivity">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_login_title"
|
||||
android:text="@string/lbl_login_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="@string/lbl_login_title"
|
||||
android:textSize="20sp"
|
||||
android:typeface="sans"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"
|
||||
android:typeface="sans" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_register_email"
|
||||
android:hint="@string/input_register_email_hint"
|
||||
android:inputType="textEmailAddress"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_login_title"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@color/white"
|
||||
android:hint="@string/input_register_email_hint"
|
||||
android:inputType="textEmailAddress"
|
||||
android:padding="10dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/input_login"
|
||||
android:textColorHint="@color/input_login_hint"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_below="@+id/lbl_login_title" />
|
||||
android:textColorHint="@color/input_login_hint" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_register_password"
|
||||
android:hint="@string/input_register_password_hint"
|
||||
android:inputType="textPassword"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@+id/input_register_email"
|
||||
android:layout_marginTop="5dp"
|
||||
android:background="@color/white"
|
||||
android:hint="@string/input_register_password_hint"
|
||||
android:inputType="textPassword"
|
||||
android:padding="10dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/input_login"
|
||||
android:textColorHint="@color/input_login_hint"
|
||||
android:layout_below="@+id/input_register_email"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginTop="5dp" />
|
||||
android:textColorHint="@color/input_login_hint" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_register"
|
||||
android:text="@string/btn_start_login"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_below="@+id/input_register_password"
|
||||
android:layout_marginBottom="10dip"
|
||||
android:layout_marginTop="20dip"
|
||||
android:background="@color/btn_login_bg"
|
||||
android:textColor="@color/btn_login"
|
||||
android:minWidth="120dp"
|
||||
android:layout_below="@+id/input_register_password"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true" />
|
||||
android:text="@string/btn_start_login"
|
||||
android:textColor="@color/btn_login" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_login_policy"
|
||||
android:text="@string/lbl_login_policy"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:gravity="end"
|
||||
android:layout_alignTop="@+id/lbl_login_resendPW"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true" />
|
||||
android:layout_alignTop="@+id/lbl_login_resendPW"
|
||||
android:gravity="end"
|
||||
android:text="@string/lbl_login_policy"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_login_usesocialnet"
|
||||
android:text="@string/lbl_login_usesocialnet"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/frag_login_btnGP"
|
||||
android:layout_centerHorizontal="true" />
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="@string/lbl_login_usesocialnet" />
|
||||
|
||||
|
||||
<fragment
|
||||
android:id="@+id/frag_login_btnGP"
|
||||
android:name="org.deke.risk.riskahead.fragments.GooglePlusButtonFragment"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:name="org.deke.risk.riskahead.fragments.GooglePlusButtonFragment"
|
||||
tools:layout="@layout/fragment_googleplus_button"
|
||||
android:layout_above="@+id/frag_login_btnTW"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="5dp"/>
|
||||
android:layout_marginTop="5dp"
|
||||
tools:layout="@layout/fragment_googleplus_button" />
|
||||
|
||||
<fragment
|
||||
android:id="@+id/frag_login_btnTW"
|
||||
android:name="org.deke.risk.riskahead.fragments.TwitterButtonFragment"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:name="org.deke.risk.riskahead.fragments.TwitterButtonFragment"
|
||||
tools:layout="@layout/fragment_twitter_button"
|
||||
android:layout_above="@+id/frag_login_btnFB"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="5dp"/>
|
||||
android:layout_marginTop="5dp"
|
||||
tools:layout="@layout/fragment_twitter_button" />
|
||||
|
||||
<fragment
|
||||
android:id="@+id/frag_login_btnFB"
|
||||
android:name="org.deke.risk.riskahead.fragments.FacebookButtonFragment"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:name="org.deke.risk.riskahead.fragments.FacebookButtonFragment"
|
||||
tools:layout="@layout/fragment_facebook_button"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginTop="5dp"/>
|
||||
android:layout_marginTop="5dp"
|
||||
tools:layout="@layout/fragment_facebook_button" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_login_resendPW"
|
||||
android:text="@string/lbl_login_resendPW"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="onClick"
|
||||
android:clickable="true"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:layout_below="@+id/btn_register"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true" />
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_below="@+id/btn_register"
|
||||
android:clickable="true"
|
||||
android:onClick="onClick"
|
||||
android:text="@string/lbl_login_resendPW"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@@ -10,27 +9,26 @@
|
||||
<RelativeLayout
|
||||
android:id="@+id/layoutContent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/frag_maps_map"
|
||||
tools:context=".MapsActivity"
|
||||
android:name="com.google.android.gms.maps.SupportMapFragment"
|
||||
/>
|
||||
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/frag_maps_map"
|
||||
android:name="com.google.android.gms.maps.SupportMapFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".MapsActivity" />
|
||||
|
||||
<com.beardedhen.androidbootstrap.BootstrapButton
|
||||
android:id="@+id/btn_maps_confirm_position"
|
||||
bootstrap:bootstrapText="@string/btn_maps_confirm_position"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
bootstrap:bootstrapBrand="danger"
|
||||
bootstrap:roundedCorners="true"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true" />
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="20dp"
|
||||
bootstrap:bootstrapBrand="danger"
|
||||
bootstrap:bootstrapText="@string/btn_maps_confirm_position"
|
||||
bootstrap:roundedCorners="true" />
|
||||
</RelativeLayout>
|
||||
|
||||
<ListView
|
||||
@@ -38,6 +36,6 @@
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="#ffffff"/>
|
||||
android:background="#ffffff" />
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
||||
@@ -1,203 +1,46 @@
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/bg_common_2"
|
||||
android:background="@drawable/layout_bg_gradient"
|
||||
tools:context=".ProfileActivity">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layoutMain"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layoutContent"
|
||||
android:layout_width="match_parent"
|
||||
android:background="@drawable/layout_bg"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:padding="8dp"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_profile_stats"
|
||||
android:text="@string/lbl_profile_stats"
|
||||
android:textStyle="bold"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textColor="#000000"/>
|
||||
|
||||
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_profile_stats"
|
||||
android:stretchColumns="1"
|
||||
android:id="@+id/tableLayout">
|
||||
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:id="@+id/lbl_profile_membersince"
|
||||
android:text="@string/lbl_profile_member_since"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:padding="3dip"
|
||||
android:textColor="#007197"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_profile_membersince"
|
||||
android:text="0"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:padding="3dip"
|
||||
android:textColor="#007197"/>
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:id="@+id/lbl_profile_points"
|
||||
android:text="@string/lbl_profile_points"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="3dip"
|
||||
android:textColor="#007197"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_profile_points"
|
||||
android:text="0"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="3dip"
|
||||
android:textColor="#007197"/>
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:id="@+id/lbl_profile_ranking"
|
||||
android:text="@string/lbl_profile_ranking"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="3dip"
|
||||
android:textColor="#007197"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_profile_ranking"
|
||||
android:text="0"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="3dip"
|
||||
android:textColor="#007197"/>
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:id="@+id/lbl_profile_numberposts"
|
||||
android:text="@string/lbl_profile_numberposts"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="3dip"
|
||||
android:textColor="#007197"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_profile_numberposts"
|
||||
android:text="0"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="3dip"
|
||||
android:textColor="#007197"/>
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_main_content_2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:padding="8dp"
|
||||
android:background="@drawable/layout_bg"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_profile_top10"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/lbl_profile_top10"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textColor="#000000"/>
|
||||
|
||||
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_profile_top10"
|
||||
android:stretchColumns="1"
|
||||
android:id="@+id/tableTop10">
|
||||
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:id="@+id/lbl_ranking"
|
||||
android:text="Ranking"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:padding="3dip"
|
||||
android:textColor="#007197"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_name"
|
||||
android:text="Name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:padding="3dip"
|
||||
android:textColor="#007197"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_points"
|
||||
android:text="Points"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:padding="3dip"
|
||||
android:textColor="#007197"/>
|
||||
</TableRow>
|
||||
|
||||
</TableLayout>
|
||||
</RelativeLayout>
|
||||
android:animateLayoutChanges="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layoutFooter"
|
||||
android:gravity="center"
|
||||
android:background="@color/bg_common"
|
||||
android:layout_height="50dp"
|
||||
android:id="@+id/layoutHeader"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_marginBottom="0dp">
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.beardedhen.androidbootstrap.BootstrapButton
|
||||
android:id="@+id/btn_profile_viewposts"
|
||||
bootstrap:bootstrapText="@string/btn_profile_viewposts"
|
||||
android:layout_width="wrap_content"
|
||||
<android.support.design.widget.TabLayout
|
||||
android:id="@+id/tab_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
bootstrap:bootstrapBrand="primary"
|
||||
bootstrap:roundedCorners="true" />
|
||||
android:layout_below="@+id/toolbar"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:elevation="6dp"
|
||||
android:minHeight="?attr/actionBarSize"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
|
||||
|
||||
<android.support.v4.view.ViewPager
|
||||
android:id="@+id/pager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/tab_layout" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ListView
|
||||
@@ -205,6 +48,6 @@
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="#ffffff"/>
|
||||
android:background="#ffffff" />
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
||||
109
app/src/main/res/layout/activity_profile_stats.xml
Normal file
109
app/src/main/res/layout/activity_profile_stats.xml
Normal file
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/layoutContent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@drawable/layout_bg"
|
||||
android:orientation="vertical"
|
||||
android:padding="8dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_profile_stats"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/lbl_profile_stats"
|
||||
android:textColor="#000000"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/tableLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_profile_stats"
|
||||
android:stretchColumns="1">
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_profile_membersince"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:padding="3dip"
|
||||
android:text="@string/lbl_profile_member_since"
|
||||
android:textColor="#007197" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_profile_membersince"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:padding="3dip"
|
||||
android:text="0"
|
||||
android:textColor="#007197" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_profile_points"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="3dip"
|
||||
android:text="@string/lbl_profile_points"
|
||||
android:textColor="#007197" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_profile_points"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="3dip"
|
||||
android:text="0"
|
||||
android:textColor="#007197" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_profile_ranking"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="3dip"
|
||||
android:text="@string/lbl_profile_ranking"
|
||||
android:textColor="#007197" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_profile_ranking"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="3dip"
|
||||
android:text="0"
|
||||
android:textColor="#007197" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_profile_numberposts"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="3dip"
|
||||
android:text="@string/lbl_profile_numberposts"
|
||||
android:textColor="#007197" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_profile_numberposts"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="3dip"
|
||||
android:text="0"
|
||||
android:textColor="#007197" />
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
62
app/src/main/res/layout/activity_profile_top10.xml
Normal file
62
app/src/main/res/layout/activity_profile_top10.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/rl_main_content_2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/layout_bg"
|
||||
android:orientation="vertical"
|
||||
android:padding="8dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_profile_top10"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/lbl_profile_top10"
|
||||
android:textColor="#000000"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/tableTop10"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_profile_top10"
|
||||
android:stretchColumns="1">
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_ranking"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:padding="3dip"
|
||||
android:text="Ranking"
|
||||
android:textColor="#007197" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:padding="3dip"
|
||||
android:text="Name"
|
||||
android:textColor="#007197" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_points"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:padding="3dip"
|
||||
android:text="Points"
|
||||
android:textColor="#007197" />
|
||||
</TableRow>
|
||||
|
||||
</TableLayout>
|
||||
</RelativeLayout>
|
||||
@@ -3,130 +3,130 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="@color/bg_register"
|
||||
android:padding="20dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:padding="20dp"
|
||||
tools:context=".LoginActivity">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_register_title"
|
||||
android:text="@string/lbl_register_title"
|
||||
android:textColor="@color/input_register"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="@string/lbl_register_title"
|
||||
android:textColor="@color/input_register"
|
||||
android:textSize="20sp"
|
||||
android:typeface="sans"
|
||||
android:textStyle="bold"
|
||||
android:layout_centerHorizontal="true" />
|
||||
android:typeface="sans" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_register_name"
|
||||
android:hint="@string/input_register_name_hint"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_register_title"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@color/input_register_bg"
|
||||
android:hint="@string/input_register_name_hint"
|
||||
android:inputType="textCapWords"
|
||||
android:padding="10dp"
|
||||
android:singleLine="true"
|
||||
android:inputType="textCapWords"
|
||||
android:textColor="@color/input_register"
|
||||
android:textColorHint="@color/input_register_hint"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_below="@+id/lbl_register_title" />
|
||||
android:textColorHint="@color/input_register_hint" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_register_email"
|
||||
android:hint="@string/input_register_email_hint"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/input_register_name"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@color/input_register_bg"
|
||||
android:hint="@string/input_register_email_hint"
|
||||
android:inputType="textEmailAddress"
|
||||
android:padding="10dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/input_register"
|
||||
android:textColorHint="@color/input_register_hint"
|
||||
android:layout_below="@+id/input_register_name"/>
|
||||
android:textColorHint="@color/input_register_hint" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_register_password"
|
||||
android:hint="@string/input_register_password_hint"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/input_register_email"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@color/input_register_bg"
|
||||
android:hint="@string/input_register_password_hint"
|
||||
android:inputType="textPassword"
|
||||
android:padding="10dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/input_register"
|
||||
android:textColorHint="@color/input_register_hint"
|
||||
android:layout_below="@+id/input_register_email" />
|
||||
android:textColorHint="@color/input_register_hint" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_register"
|
||||
android:text="@string/btn_start_register"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:minWidth="120dp"
|
||||
android:background="#ffea7f8a"
|
||||
android:textColor="@color/white"
|
||||
android:layout_below="@+id/input_register_password"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true" />
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_below="@+id/input_register_password"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="#ffea7f8a"
|
||||
android:minWidth="120dp"
|
||||
android:text="@string/btn_start_register"
|
||||
android:textColor="@color/white" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_login_policy"
|
||||
android:text="@string/lbl_login_policy"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="right"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="@color/input_register"
|
||||
android:layout_alignTop="@+id/btn_register"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true" />
|
||||
android:layout_alignTop="@+id/btn_register"
|
||||
android:gravity="right"
|
||||
android:text="@string/lbl_login_policy"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="@color/input_register" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_login_usesocialnet"
|
||||
android:text="@string/lbl_login_usesocialnet"
|
||||
android:textColor="@color/input_register"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/frag_login_btnGP"
|
||||
android:layout_centerHorizontal="true" />
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="@string/lbl_login_usesocialnet"
|
||||
android:textColor="@color/input_register" />
|
||||
|
||||
<fragment
|
||||
android:id="@+id/frag_login_btnGP"
|
||||
android:name="org.deke.risk.riskahead.fragments.GooglePlusButtonFragment"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:name="org.deke.risk.riskahead.fragments.GooglePlusButtonFragment"
|
||||
tools:layout="@layout/fragment_googleplus_button"
|
||||
android:layout_above="@+id/frag_login_btnTW"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="5dp"/>
|
||||
android:layout_marginTop="5dp"
|
||||
tools:layout="@layout/fragment_googleplus_button" />
|
||||
|
||||
<fragment
|
||||
android:id="@+id/frag_login_btnTW"
|
||||
android:name="org.deke.risk.riskahead.fragments.TwitterButtonFragment"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:name="org.deke.risk.riskahead.fragments.TwitterButtonFragment"
|
||||
tools:layout="@layout/fragment_twitter_button"
|
||||
android:layout_above="@+id/frag_login_btnFB"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="5dp"/>
|
||||
android:layout_marginTop="5dp"
|
||||
tools:layout="@layout/fragment_twitter_button" />
|
||||
|
||||
<fragment
|
||||
android:id="@+id/frag_login_btnFB"
|
||||
android:name="org.deke.risk.riskahead.fragments.FacebookButtonFragment"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:name="org.deke.risk.riskahead.fragments.FacebookButtonFragment"
|
||||
tools:layout="@layout/fragment_facebook_button"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginTop="5dp"/>
|
||||
android:layout_marginTop="5dp"
|
||||
tools:layout="@layout/fragment_facebook_button" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/drawer_layout"
|
||||
@@ -10,164 +9,166 @@
|
||||
|
||||
<!-- dummy item for disabling focus -->
|
||||
<LinearLayout
|
||||
android:focusable="true" android:focusableInTouchMode="true"
|
||||
android:layout_width="0px" android:layout_height="0px"/>
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:layout_width="0px"
|
||||
android:layout_height="0px" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layoutMain"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layoutContent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="15dp"
|
||||
android:layout_weight="1">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_report_short"
|
||||
android:text="@string/lbl_report_short"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/input_report_short"
|
||||
android:layout_alignStart="@+id/input_report_short"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_report_short"
|
||||
android:hint="@string/input_report_short_hint"
|
||||
android:inputType="text"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/input_login"
|
||||
android:textColorHint="@color/input_login_hint"
|
||||
android:layout_marginTop="20dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_report_long"
|
||||
android:text="@string/lbl_report_long"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_report_short" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_report_long"
|
||||
android:hint="@string/input_report_long_hint"
|
||||
android:inputType="textMultiLine"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="top|left"
|
||||
android:padding="10dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/input_login"
|
||||
android:textColorHint="@color/input_login_hint"
|
||||
android:layout_below="@+id/lbl_report_long"
|
||||
android:scrollbars="vertical"
|
||||
android:minLines="1"
|
||||
android:lines="4"
|
||||
android:maxLines="4"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_report_category"
|
||||
android:text="@string/lbl_report_category"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_report_long" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/dd_report_category"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_report_category"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_report_date"
|
||||
android:text="@string/lbl_report_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/dd_report_category" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_report_time"
|
||||
android:text="@string/lbl_report_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_above="@+id/input_report_time"
|
||||
android:layout_alignLeft="@+id/input_report_time"
|
||||
android:layout_alignStart="@+id/input_report_time"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_report_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="date"
|
||||
android:layout_marginRight="5dp"
|
||||
android:ems="10"
|
||||
android:layout_below="@+id/lbl_report_date"
|
||||
android:layout_alignLeft="@+id/lbl_report_date"
|
||||
android:layout_alignStart="@+id/lbl_report_date"
|
||||
android:focusable="false"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_report_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="time"
|
||||
android:ems="10"
|
||||
android:layout_alignBottom="@+id/input_report_date"
|
||||
android:layout_toRightOf="@+id/input_report_date"
|
||||
android:layout_toEndOf="@+id/input_report_date"
|
||||
android:focusable="false"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_report_position"
|
||||
android:text="@string/lbl_report_position"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_report_date"
|
||||
android:layout_alignLeft="@+id/input_report_date"
|
||||
android:layout_alignStart="@+id/input_report_time"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_report_position"
|
||||
<RelativeLayout
|
||||
android:id="@+id/layoutContent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:editable="false"
|
||||
android:layout_below="@+id/lbl_report_position"
|
||||
android:layout_toRightOf="@+id/lbl_report_category"
|
||||
android:layout_toEndOf="@+id/lbl_report_category"/>
|
||||
android:layout_height="match_parent"
|
||||
android:padding="15dp"
|
||||
android:layout_weight="1">
|
||||
|
||||
<com.beardedhen.androidbootstrap.BootstrapButton
|
||||
android:id="@+id/btn_report_position"
|
||||
android:layout_marginTop="3dp"
|
||||
bootstrap:bootstrapText="@string/btn_report_position"
|
||||
android:layout_below="@+id/lbl_report_position"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
bootstrap:bootstrapBrand="primary"
|
||||
bootstrap:roundedCorners="true"
|
||||
bootstrap:bootstrapSize="lg"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true" />
|
||||
<TextView
|
||||
android:id="@+id/lbl_report_short"
|
||||
android:text="@string/lbl_report_short"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/input_report_short"
|
||||
android:layout_alignStart="@+id/input_report_short" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:id="@+id/lbl_report_position_detail"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@+id/input_report_position"
|
||||
android:layout_alignLeft="@+id/input_report_position"
|
||||
android:layout_alignStart="@+id/input_report_position" />
|
||||
</RelativeLayout>
|
||||
<EditText
|
||||
android:id="@+id/input_report_short"
|
||||
android:hint="@string/input_report_short_hint"
|
||||
android:inputType="text"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/input_login"
|
||||
android:textColorHint="@color/input_login_hint"
|
||||
android:layout_marginTop="20dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_report_long"
|
||||
android:text="@string/lbl_report_long"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_report_short" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_report_long"
|
||||
android:hint="@string/input_report_long_hint"
|
||||
android:inputType="textMultiLine"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="top|left"
|
||||
android:padding="10dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/input_login"
|
||||
android:textColorHint="@color/input_login_hint"
|
||||
android:layout_below="@+id/lbl_report_long"
|
||||
android:scrollbars="vertical"
|
||||
android:minLines="1"
|
||||
android:lines="4"
|
||||
android:maxLines="4" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_report_category"
|
||||
android:text="@string/lbl_report_category"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_report_long" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/dd_report_category"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_report_category" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_report_date"
|
||||
android:text="@string/lbl_report_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/dd_report_category" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_report_time"
|
||||
android:text="@string/lbl_report_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_above="@+id/input_report_time"
|
||||
android:layout_alignLeft="@+id/input_report_time"
|
||||
android:layout_alignStart="@+id/input_report_time" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_report_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="date"
|
||||
android:layout_marginRight="5dp"
|
||||
android:ems="10"
|
||||
android:layout_below="@+id/lbl_report_date"
|
||||
android:layout_alignLeft="@+id/lbl_report_date"
|
||||
android:layout_alignStart="@+id/lbl_report_date"
|
||||
android:focusable="false" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_report_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="time"
|
||||
android:ems="10"
|
||||
android:layout_alignBottom="@+id/input_report_date"
|
||||
android:layout_toRightOf="@+id/input_report_date"
|
||||
android:layout_toEndOf="@+id/input_report_date"
|
||||
android:focusable="false" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_report_position"
|
||||
android:text="@string/lbl_report_position"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_report_date"
|
||||
android:layout_alignLeft="@+id/input_report_date"
|
||||
android:layout_alignStart="@+id/input_report_time" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_report_position"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:editable="false"
|
||||
android:layout_below="@+id/lbl_report_position"
|
||||
android:layout_toRightOf="@+id/lbl_report_category"
|
||||
android:layout_toEndOf="@+id/lbl_report_category" />
|
||||
|
||||
<com.beardedhen.androidbootstrap.BootstrapButton
|
||||
android:id="@+id/btn_report_position"
|
||||
android:layout_marginTop="3dp"
|
||||
bootstrap:bootstrapText="@string/btn_report_position"
|
||||
android:layout_below="@+id/lbl_report_position"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
bootstrap:bootstrapBrand="primary"
|
||||
bootstrap:roundedCorners="true"
|
||||
bootstrap:bootstrapSize="lg"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:id="@+id/lbl_report_position_detail"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@+id/input_report_position"
|
||||
android:layout_alignLeft="@+id/input_report_position"
|
||||
android:layout_alignStart="@+id/input_report_position" />
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layoutFooter"
|
||||
@@ -177,16 +178,16 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginBottom="0dp">
|
||||
|
||||
<com.beardedhen.androidbootstrap.BootstrapButton
|
||||
android:id="@+id/btn_report_report"
|
||||
bootstrap:bootstrapText="@string/btn_main_report"
|
||||
android:minWidth="300dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
bootstrap:bootstrapBrand="danger"
|
||||
bootstrap:roundedCorners="true" />
|
||||
<com.beardedhen.androidbootstrap.BootstrapButton
|
||||
android:id="@+id/btn_report_report"
|
||||
bootstrap:bootstrapText="@string/btn_main_report"
|
||||
android:minWidth="300dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
bootstrap:bootstrapBrand="danger"
|
||||
bootstrap:roundedCorners="true" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -195,6 +196,6 @@
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="#ffffff"/>
|
||||
android:background="#ffffff" />
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/drawer_layout"
|
||||
@@ -12,7 +11,7 @@
|
||||
android:animateLayoutChanges="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layoutContent"
|
||||
@@ -77,12 +76,13 @@
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/navList"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="#ffffff"/>
|
||||
android:background="#ffffff" />
|
||||
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
||||
@@ -1,23 +1,21 @@
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:background="#8ae6e6e6"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ReportlistActivity">
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layoutContent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<ListView
|
||||
android:id="@+id/lv_reportlist_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -26,6 +24,6 @@
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="#ffffff"/>
|
||||
android:background="#ffffff" />
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
||||
@@ -50,6 +50,4 @@
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,5 +1,4 @@
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/drawer_layout"
|
||||
@@ -12,92 +11,92 @@
|
||||
android:id="@+id/layoutMain"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layoutContent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:padding="8dp"
|
||||
android:background="@drawable/layout_bg"
|
||||
android:orientation="vertical" >
|
||||
<RelativeLayout
|
||||
android:id="@+id/layoutContent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:padding="8dp"
|
||||
android:background="@drawable/layout_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_settings_username"
|
||||
android:text="@string/lbl_settings_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"/>
|
||||
<TextView
|
||||
android:id="@+id/lbl_settings_username"
|
||||
android:text="@string/lbl_settings_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/txt_settings_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_settings_username"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true" />
|
||||
<EditText
|
||||
android:id="@+id/txt_settings_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_settings_username"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_settings_name"
|
||||
android:text="@string/lbl_settings_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/txt_settings_username" />
|
||||
<TextView
|
||||
android:id="@+id/lbl_settings_name"
|
||||
android:text="@string/lbl_settings_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/txt_settings_username" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_settings_surname"
|
||||
android:text="@string/lbl_settings_surname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_above="@+id/txt_settings_surname"
|
||||
android:layout_alignLeft="@+id/txt_settings_surname"
|
||||
android:layout_alignStart="@+id/txt_settings_surname"/>
|
||||
<TextView
|
||||
android:id="@+id/lbl_settings_surname"
|
||||
android:text="@string/lbl_settings_surname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_above="@+id/txt_settings_surname"
|
||||
android:layout_alignLeft="@+id/txt_settings_surname"
|
||||
android:layout_alignStart="@+id/txt_settings_surname" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/txt_settings_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="8"
|
||||
android:layout_below="@+id/lbl_settings_name"
|
||||
android:layout_alignLeft="@+id/lbl_settings_name"
|
||||
android:layout_alignStart="@+id/lbl_settings_name"/>
|
||||
<EditText
|
||||
android:id="@+id/txt_settings_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="8"
|
||||
android:layout_below="@+id/lbl_settings_name"
|
||||
android:layout_alignLeft="@+id/lbl_settings_name"
|
||||
android:layout_alignStart="@+id/lbl_settings_name" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/txt_settings_surname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="8"
|
||||
android:layout_alignBottom="@+id/txt_settings_name"
|
||||
android:layout_toRightOf="@+id/txt_settings_name"
|
||||
android:layout_toEndOf="@+id/txt_settings_name"/>
|
||||
<EditText
|
||||
android:id="@+id/txt_settings_surname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="8"
|
||||
android:layout_alignBottom="@+id/txt_settings_name"
|
||||
android:layout_toRightOf="@+id/txt_settings_name"
|
||||
android:layout_toEndOf="@+id/txt_settings_name" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_settings_email"
|
||||
android:text="@string/lbl_settings_email"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/txt_settings_name"/>
|
||||
<TextView
|
||||
android:id="@+id/lbl_settings_email"
|
||||
android:text="@string/lbl_settings_email"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/txt_settings_name" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/txt_settings_email"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_settings_email"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true" />
|
||||
<EditText
|
||||
android:id="@+id/txt_settings_email"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_settings_email"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true" />
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_main_content_2"
|
||||
@@ -108,21 +107,21 @@
|
||||
android:layout_marginBottom="20dp"
|
||||
android:padding="4dp"
|
||||
android:background="@drawable/layout_bg"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_settings_password"
|
||||
android:text="@string/lbl_settings_password"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"/>
|
||||
android:id="@+id/lbl_settings_password"
|
||||
android:text="@string/lbl_settings_password"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/txt_settings_password"
|
||||
android:inputType="textPassword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_settings_password"/>
|
||||
android:layout_below="@+id/lbl_settings_password" />
|
||||
|
||||
<com.beardedhen.androidbootstrap.BootstrapButton
|
||||
android:id="@+id/btn_settings_req_password"
|
||||
@@ -133,25 +132,25 @@
|
||||
bootstrap:bootstrapBrand="primary"
|
||||
bootstrap:roundedCorners="true"
|
||||
android:layout_below="@+id/txt_settings_password" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layoutFooter"
|
||||
android:gravity="center"
|
||||
android:background="@color/bg_common"
|
||||
android:layout_height="50dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginBottom="0dp">
|
||||
<LinearLayout
|
||||
android:id="@+id/layoutFooter"
|
||||
android:gravity="center"
|
||||
android:background="@color/bg_common"
|
||||
android:layout_height="50dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginBottom="0dp">
|
||||
|
||||
<com.beardedhen.androidbootstrap.BootstrapButton
|
||||
android:id="@+id/btn_settings_change"
|
||||
bootstrap:bootstrapText="@string/btn_settings_change"
|
||||
android:minWidth="180dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
bootstrap:bootstrapBrand="primary"
|
||||
bootstrap:roundedCorners="true" />
|
||||
</LinearLayout>
|
||||
<com.beardedhen.androidbootstrap.BootstrapButton
|
||||
android:id="@+id/btn_settings_change"
|
||||
bootstrap:bootstrapText="@string/btn_settings_change"
|
||||
android:minWidth="180dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
bootstrap:bootstrapBrand="primary"
|
||||
bootstrap:roundedCorners="true" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -160,6 +159,6 @@
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="#ffffff"/>
|
||||
android:background="#ffffff" />
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
@@ -1,6 +1,8 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
@@ -29,7 +31,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:onClick="gotoLogin"/>
|
||||
android:onClick="gotoLogin" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_start_register"
|
||||
@@ -37,7 +39,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:onClick="gotoRegister"/>
|
||||
android:onClick="gotoRegister" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:background="#8ae6e6e6"
|
||||
@@ -11,7 +10,7 @@
|
||||
android:id="@+id/layoutMain"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layoutContent"
|
||||
@@ -23,7 +22,7 @@
|
||||
android:layout_marginBottom="20dp"
|
||||
android:padding="8dp"
|
||||
android:background="@drawable/layout_bg"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_subscription_title"
|
||||
@@ -31,7 +30,7 @@
|
||||
android:textStyle="bold"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"/>
|
||||
android:layout_marginTop="10dp" />
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -43,15 +42,18 @@
|
||||
android:id="@+id/tableLayout2">
|
||||
|
||||
<TableRow android:padding="1dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_subscription_1_title"
|
||||
android:text="No Ads"
|
||||
android:textStyle="bold"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"/>
|
||||
android:layout_marginTop="10dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_subscription_1_desription"
|
||||
android:text="You can subscripe this option to have no more ads. This is a recuring subscriptions for $5 a month"
|
||||
@@ -59,7 +61,9 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<Button
|
||||
style="?android:attr/buttonStyleSmall"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -69,15 +73,18 @@
|
||||
</TableRow>
|
||||
|
||||
<TableRow android:padding="1dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_subscription_2_title"
|
||||
android:text="Unlimited Access"
|
||||
android:textStyle="bold"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"/>
|
||||
android:layout_marginTop="10dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_subscription_2_description"
|
||||
android:text="You can get unlimimited access to the report map with this reccuring subscription for $10 a month"
|
||||
@@ -85,7 +92,9 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<Button
|
||||
style="?android:attr/buttonStyleSmall"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -98,12 +107,9 @@
|
||||
</TableLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ListView
|
||||
@@ -111,6 +117,6 @@
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="#ffffff"/>
|
||||
android:background="#ffffff" />
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
@@ -1,5 +1,4 @@
|
||||
<android.support.v4.widget.DrawerLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/drawer_layout"
|
||||
@@ -12,7 +11,7 @@
|
||||
android:id="@+id/layoutMain"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -20,156 +19,155 @@
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/layoutContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="10dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_viewreport_short"
|
||||
android:text="@string/lbl_report_short"
|
||||
<RelativeLayout
|
||||
android:id="@+id/layoutContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/input_viewreport_short"
|
||||
android:layout_alignStart="@+id/input_viewreport_short"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_viewreport_short"
|
||||
android:inputType="text"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="10dp"
|
||||
android:singleLine="true"
|
||||
android:enabled="false"
|
||||
android:layout_marginTop="20dp"/>
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_viewreport_long"
|
||||
android:text="@string/lbl_report_long"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_viewreport_short" />
|
||||
<TextView
|
||||
android:id="@+id/lbl_viewreport_short"
|
||||
android:text="@string/lbl_report_short"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/input_viewreport_short"
|
||||
android:layout_alignStart="@+id/input_viewreport_short" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_viewreport_long"
|
||||
android:inputType="textMultiLine"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="top|left"
|
||||
android:padding="10dp"
|
||||
android:singleLine="true"
|
||||
android:layout_below="@+id/lbl_viewreport_long"
|
||||
android:scrollbars="vertical"
|
||||
android:enabled="false"
|
||||
android:minLines="1"
|
||||
android:lines="4"
|
||||
android:maxLines="4"/>
|
||||
<EditText
|
||||
android:id="@+id/input_viewreport_short"
|
||||
android:inputType="text"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:singleLine="true"
|
||||
android:enabled="false"
|
||||
android:layout_marginTop="20dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_viewreport_category"
|
||||
android:text="@string/lbl_report_category"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_viewreport_long" />
|
||||
<TextView
|
||||
android:id="@+id/lbl_viewreport_long"
|
||||
android:text="@string/lbl_report_long"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_viewreport_short" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_viewreport_category"
|
||||
android:enabled="false"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_viewreport_category"/>
|
||||
<EditText
|
||||
android:id="@+id/input_viewreport_long"
|
||||
android:inputType="textMultiLine"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="top|left"
|
||||
android:padding="10dp"
|
||||
android:singleLine="true"
|
||||
android:layout_below="@+id/lbl_viewreport_long"
|
||||
android:scrollbars="vertical"
|
||||
android:enabled="false"
|
||||
android:minLines="1"
|
||||
android:lines="4"
|
||||
android:maxLines="4" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_viewreport_date"
|
||||
android:text="@string/lbl_report_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_viewreport_category" />
|
||||
<TextView
|
||||
android:id="@+id/lbl_viewreport_category"
|
||||
android:text="@string/lbl_report_category"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_viewreport_long" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_viewreport_time"
|
||||
android:text="@string/lbl_report_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_above="@+id/input_viewreport_time"
|
||||
android:layout_alignLeft="@+id/input_viewreport_time"
|
||||
android:layout_alignStart="@+id/input_viewreport_time"/>
|
||||
<EditText
|
||||
android:id="@+id/input_viewreport_category"
|
||||
android:enabled="false"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_viewreport_category" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_viewreport_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="date"
|
||||
android:enabled="false"
|
||||
android:ems="10"
|
||||
android:layout_below="@+id/lbl_viewreport_date"
|
||||
android:layout_alignLeft="@+id/lbl_viewreport_date"
|
||||
android:layout_alignStart="@+id/lbl_viewreport_date"
|
||||
android:focusable="false"/>
|
||||
<TextView
|
||||
android:id="@+id/lbl_viewreport_date"
|
||||
android:text="@string/lbl_report_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_viewreport_category" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_viewreport_time"
|
||||
android:enabled="false"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="time"
|
||||
android:ems="10"
|
||||
android:layout_alignBottom="@+id/input_viewreport_date"
|
||||
android:layout_toRightOf="@+id/input_viewreport_date"
|
||||
android:layout_toEndOf="@+id/input_viewreport_date"
|
||||
android:focusable="false"/>
|
||||
<TextView
|
||||
android:id="@+id/lbl_viewreport_time"
|
||||
android:text="@string/lbl_report_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_above="@+id/input_viewreport_time"
|
||||
android:layout_alignLeft="@+id/input_viewreport_time"
|
||||
android:layout_alignStart="@+id/input_viewreport_time" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_viewreport_position"
|
||||
android:text="@string/lbl_report_position"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_viewreport_date"
|
||||
android:layout_alignLeft="@+id/input_viewreport_date"
|
||||
android:layout_alignStart="@+id/input_viewreport_time"/>
|
||||
<EditText
|
||||
android:id="@+id/input_viewreport_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="date"
|
||||
android:enabled="false"
|
||||
android:ems="10"
|
||||
android:layout_below="@+id/lbl_viewreport_date"
|
||||
android:layout_alignLeft="@+id/lbl_viewreport_date"
|
||||
android:layout_alignStart="@+id/lbl_viewreport_date"
|
||||
android:focusable="false" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_viewreport_time"
|
||||
android:enabled="false"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="time"
|
||||
android:ems="10"
|
||||
android:layout_alignBottom="@+id/input_viewreport_date"
|
||||
android:layout_toRightOf="@+id/input_viewreport_date"
|
||||
android:layout_toEndOf="@+id/input_viewreport_date"
|
||||
android:focusable="false" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_viewreport_position"
|
||||
android:text="@string/lbl_report_position"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_below="@+id/input_viewreport_date"
|
||||
android:layout_alignLeft="@+id/input_viewreport_date"
|
||||
android:layout_alignStart="@+id/input_viewreport_time" />
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_viewreport_position"
|
||||
android:enabled="false"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_viewreport_position"
|
||||
android:layout_toRightOf="@+id/lbl_viewreport_category"
|
||||
android:layout_toEndOf="@+id/lbl_viewreport_category"
|
||||
android:editable="false" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_viewreport_position"
|
||||
android:enabled="false"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/lbl_viewreport_position"
|
||||
android:layout_toRightOf="@+id/lbl_viewreport_category"
|
||||
android:layout_toEndOf="@+id/lbl_viewreport_category"
|
||||
android:editable="false"/>
|
||||
<com.beardedhen.androidbootstrap.BootstrapButton
|
||||
android:id="@+id/btn_viewreport_position"
|
||||
android:layout_marginTop="3dp"
|
||||
bootstrap:bootstrapText="@string/btn_report_position"
|
||||
android:layout_below="@+id/lbl_viewreport_position"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
bootstrap:bootstrapBrand="primary"
|
||||
bootstrap:roundedCorners="true"
|
||||
bootstrap:bootstrapSize="lg"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true" />
|
||||
|
||||
<com.beardedhen.androidbootstrap.BootstrapButton
|
||||
android:id="@+id/btn_viewreport_position"
|
||||
android:layout_marginTop="3dp"
|
||||
bootstrap:bootstrapText="@string/btn_report_position"
|
||||
android:layout_below="@+id/lbl_viewreport_position"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
bootstrap:bootstrapBrand="primary"
|
||||
bootstrap:roundedCorners="true"
|
||||
bootstrap:bootstrapSize="lg"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:id="@+id/lbl_viewreport_position_detail"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@+id/input_viewreport_position"
|
||||
android:layout_alignLeft="@+id/input_viewreport_position"
|
||||
android:layout_alignStart="@+id/input_viewreport_position" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:id="@+id/lbl_viewreport_position_detail"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@+id/input_viewreport_position"
|
||||
android:layout_alignLeft="@+id/input_viewreport_position"
|
||||
android:layout_alignStart="@+id/input_viewreport_position" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
@@ -186,8 +184,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
bootstrap:bootstrapBrand="success"
|
||||
bootstrap:fontAwesomeIcon="fa_angle_up"
|
||||
/>
|
||||
bootstrap:fontAwesomeIcon="fa_angle_up" />
|
||||
|
||||
<com.beardedhen.androidbootstrap.BootstrapLabel
|
||||
android:id="@+id/txt_viewreport_points"
|
||||
@@ -198,8 +195,7 @@
|
||||
bootstrap:bootstrapBrand="primary"
|
||||
bootstrap:bootstrapHeading="h4"
|
||||
bootstrap:roundedCorners="true"
|
||||
android:text="0"
|
||||
/>
|
||||
android:text="0" />
|
||||
|
||||
<com.beardedhen.androidbootstrap.AwesomeTextView
|
||||
android:id="@+id/btn_viewreport_downvote"
|
||||
@@ -208,8 +204,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
bootstrap:bootstrapBrand="danger"
|
||||
android:layout_below="@+id/txt_viewreport_points"
|
||||
bootstrap:fontAwesomeIcon="fa_angle_down"
|
||||
/>
|
||||
bootstrap:fontAwesomeIcon="fa_angle_down" />
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
@@ -244,6 +239,6 @@
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="#ffffff"/>
|
||||
android:background="#ffffff" />
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
@@ -1,5 +1,6 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
xmlns:fb="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_height="match_parent"
|
||||
@@ -12,7 +13,6 @@
|
||||
bootstrap:bootstrapText="{fa_facebook_f} Facebook"
|
||||
android:layout_above="@+id/btn_login_fb"
|
||||
bootstrap:bootstrapBrand="primary"
|
||||
bootstrap:roundedCorners="true"
|
||||
/>
|
||||
bootstrap:roundedCorners="true" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<FrameLayout android:id="@+id/gp_frame_layout" xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
|
||||
<FrameLayout
|
||||
android:id="@+id/gp_frame_layout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="org.deke.risk.riskahead.fragments.GooglePlusButtonFragment">
|
||||
@@ -11,8 +14,7 @@
|
||||
bootstrap:bootstrapText="{fa_google} Google+"
|
||||
android:layout_above="@+id/btn_login_gp"
|
||||
bootstrap:bootstrapBrand="danger"
|
||||
bootstrap:roundedCorners="true"
|
||||
/>
|
||||
bootstrap:roundedCorners="true" />
|
||||
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_01_01"
|
||||
@@ -42,7 +42,7 @@
|
||||
android:layout_margin="5dp"
|
||||
android:spinnerMode="dialog"
|
||||
android:prompt="@string/lbl_spinner_choose"
|
||||
android:layout_below="@id/lbl_reportwf_1_question"/>
|
||||
android:layout_below="@id/lbl_reportwf_1_question" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/dd_reportwf_1_cat_sub"
|
||||
@@ -52,7 +52,7 @@
|
||||
android:layout_margin="5dp"
|
||||
android:spinnerMode="dialog"
|
||||
android:prompt="@string/lbl_spinner_choose"
|
||||
android:layout_below="@id/dd_reportwf_1_cat_main"/>
|
||||
android:layout_below="@id/dd_reportwf_1_cat_main" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="300dp"
|
||||
@@ -60,7 +60,7 @@
|
||||
android:visibility="invisible"
|
||||
android:hint="Please enter your info here"
|
||||
android:id="@+id/txt_reportwf_1_cat_etc"
|
||||
android:layout_below="@id/dd_reportwf_1_cat_sub"/>
|
||||
android:layout_below="@id/dd_reportwf_1_cat_sub" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/ll_pos"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:animateLayoutChanges="true"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_01_01"
|
||||
@@ -52,7 +52,7 @@
|
||||
android:layout_margin="5dp"
|
||||
android:spinnerMode="dialog"
|
||||
android:prompt="@string/lbl_spinner_choose"
|
||||
android:layout_gravity="center_horizontal"/>
|
||||
android:layout_gravity="center_horizontal" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/ll_report_from_time"
|
||||
@@ -75,7 +75,7 @@
|
||||
android:layout_alignLeft="@+id/input_report_from_time"
|
||||
android:layout_alignStart="@+id/input_report_from_time"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/lbl_report_from_time"/>
|
||||
android:text="@string/lbl_report_from_time" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_report_from_date"
|
||||
@@ -87,7 +87,7 @@
|
||||
android:layout_marginRight="5dp"
|
||||
android:ems="10"
|
||||
android:focusable="false"
|
||||
android:inputType="date"/>
|
||||
android:inputType="date" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_report_from_time"
|
||||
@@ -98,7 +98,7 @@
|
||||
android:layout_toRightOf="@+id/input_report_from_date"
|
||||
android:ems="10"
|
||||
android:focusable="false"
|
||||
android:inputType="time"/>
|
||||
android:inputType="time" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -123,7 +123,7 @@
|
||||
android:layout_alignLeft="@+id/input_report_to_time"
|
||||
android:layout_alignStart="@+id/input_report_to_time"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/lbl_report_to_time"/>
|
||||
android:text="@string/lbl_report_to_time" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_report_to_date"
|
||||
@@ -135,7 +135,7 @@
|
||||
android:layout_marginRight="5dp"
|
||||
android:ems="10"
|
||||
android:focusable="false"
|
||||
android:inputType="date"/>
|
||||
android:inputType="date" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_report_to_time"
|
||||
@@ -146,7 +146,7 @@
|
||||
android:layout_toRightOf="@+id/input_report_to_date"
|
||||
android:ems="10"
|
||||
android:focusable="false"
|
||||
android:inputType="time"/>
|
||||
android:inputType="time" />
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:animateLayoutChanges="true"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layoutSubContent"
|
||||
@@ -52,7 +52,7 @@
|
||||
android:layout_margin="5dp"
|
||||
android:spinnerMode="dialog"
|
||||
android:prompt="@string/lbl_spinner_choose"
|
||||
android:layout_gravity="center_horizontal"/>
|
||||
android:layout_gravity="center_horizontal" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="300dp"
|
||||
@@ -60,7 +60,7 @@
|
||||
android:visibility="invisible"
|
||||
android:hint="Please enter your info here"
|
||||
android:id="@+id/txt_reportwf_3_suspect_etc"
|
||||
android:layout_gravity="center_horizontal"/>
|
||||
android:layout_gravity="center_horizontal" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="org.deke.risk.riskahead.fragments.TwitterButtonFragment">
|
||||
@@ -11,8 +12,7 @@
|
||||
bootstrap:bootstrapText="{fa_twitter} Twitter"
|
||||
android:layout_above="@+id/btn_login_gp"
|
||||
bootstrap:bootstrapBrand="info"
|
||||
bootstrap:roundedCorners="true"
|
||||
/>
|
||||
bootstrap:roundedCorners="true" />
|
||||
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?android:attr/activatedBackgroundIndicator"
|
||||
android:minHeight="?android:attr/listPreferredItemHeightSmall"
|
||||
android:padding="10dp" >
|
||||
android:padding="10dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageViewIcon"
|
||||
|
||||
@@ -26,77 +26,76 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/lay_infowindow_color"
|
||||
android:background="#e45151"
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="match_parent">
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:typeface="serif"
|
||||
android:textColor="#b9000000"
|
||||
android:text="Textabfdfdgregreger"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:id="@+id/txt_infowindow_description"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="marquee"
|
||||
android:marqueeRepeatLimit="marquee_forever"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#b9000000"
|
||||
android:text="Category"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:id="@+id/txt_infowindow_category"
|
||||
android:typeface="serif" />
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/lay_infowindow_color"
|
||||
android:background="#e45151"
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="match_parent"></LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/lay_infowindow_2"
|
||||
android:background="#55ababab"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="3dp">
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:typeface="serif"
|
||||
android:textColor="#b9000000"
|
||||
android:text="Textabfdfdgregreger"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:id="@+id/txt_infowindow_description"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="marquee"
|
||||
android:marqueeRepeatLimit="marquee_forever" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#b9000000"
|
||||
android:text="Username"
|
||||
android:id="@+id/txt_infowindow_fromuser"
|
||||
android:text="Category"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:id="@+id/txt_infowindow_category"
|
||||
android:typeface="serif" />
|
||||
|
||||
<TextView
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/lay_infowindow_2"
|
||||
android:background="#55ababab"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#b9000000"
|
||||
android:text="Points:"
|
||||
android:id="@+id/txt_infowindow_points"
|
||||
android:typeface="serif" />
|
||||
android:layout_height="match_parent"
|
||||
android:padding="3dp">
|
||||
|
||||
<RatingBar
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/rb_infowindow_rating"
|
||||
style = "?android:attr/ratingBarStyleSmall"
|
||||
android:stepSize="0.5"
|
||||
android:numStars = "5"
|
||||
android:rating = "0"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#b9000000"
|
||||
android:text="Username"
|
||||
android:id="@+id/txt_infowindow_fromuser"
|
||||
android:typeface="serif" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#b9000000"
|
||||
android:text="Points:"
|
||||
android:id="@+id/txt_infowindow_points"
|
||||
android:typeface="serif" />
|
||||
|
||||
<RatingBar
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/rb_infowindow_rating"
|
||||
style="?android:attr/ratingBarStyleSmall"
|
||||
android:stepSize="0.5"
|
||||
android:numStars="5"
|
||||
android:rating="0" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user