Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uBus
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chiara Veronica Señires
uBus
Commits
a5d30287
Commit
a5d30287
authored
Nov 03, 2015
by
Pearl Jen Santos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made some minor edits for the layout. Still attempting card layout.
parent
7c06ed96
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
86 additions
and
96 deletions
+86
-96
ActionBarAttempt.java
...ava/com/example/pearlsantos/project/ActionBarAttempt.java
+1
-0
Schedules.java
.../main/java/com/example/pearlsantos/project/Schedules.java
+1
-0
card_background.xml
...-15/Project/app/src/main/res/drawable/card_background.xml
+22
-0
card_background_selector.xml
...ct/app/src/main/res/drawable/card_background_selector.xml
+7
-0
card_state_pressed.xml
.../Project/app/src/main/res/drawable/card_state_pressed.xml
+22
-0
activity_login__screen.xml
...roject/app/src/main/res/layout/activity_login__screen.xml
+4
-30
cardlayoutattempt.xml
...-15/Project/app/src/main/res/layout/cardlayoutattempt.xml
+14
-0
fragment_schedules.xml
...15/Project/app/src/main/res/layout/fragment_schedules.xml
+11
-56
item_row.xml
...app/10-31-15/Project/app/src/main/res/layout/item_row.xml
+2
-1
menu_action_bar_attempt.xml
...Project/app/src/main/res/menu/menu_action_bar_attempt.xml
+1
-8
strings.xml
...-app/10-31-15/Project/app/src/main/res/values/strings.xml
+1
-1
No files found.
mobile-app/10-31-15/Project/app/src/main/java/com/example/pearlsantos/project/ActionBarAttempt.java
View file @
a5d30287
...
...
@@ -57,6 +57,7 @@ public class ActionBarAttempt extends AppCompatActivity {
mTitle
=
mDrawerTitle
=
"About"
;
options
=
getResources
().
getStringArray
(
R
.
array
.
options
);
mDrawerLayout
=
(
DrawerLayout
)
findViewById
(
R
.
id
.
drawer_layout
);
mDrawerLayout
=
(
DrawerLayout
)
findViewById
(
R
.
id
.
drawer_layout
);
mDrawerList
=
(
ListView
)
findViewById
(
R
.
id
.
left_drawer
);
...
...
mobile-app/10-31-15/Project/app/src/main/java/com/example/pearlsantos/project/Schedules.java
View file @
a5d30287
...
...
@@ -209,3 +209,4 @@ public class Schedules extends Fragment {
mobile-app/10-31-15/Project/app/src/main/res/drawable/card_background.xml
0 → 100644
View file @
a5d30287
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item>
<shape
android:shape=
"rectangle"
>
<solid
android:color=
"#FFCCBC"
/>
<corners
android:radius=
"2dp"
/>
</shape>
</item>
<item
android:bottom=
"20dp"
android:left=
"0dp"
android:right=
"0dp"
android:top=
"0dp"
>
<shape
android:shape=
"rectangle"
>
<solid
android:color=
"#FF8A65"
/>
<corners
android:radius=
"2dp"
/>
</shape>
</item>
</layer-list>
\ No newline at end of file
mobile-app/10-31-15/Project/app/src/main/res/drawable/card_background_selector.xml
0 → 100644
View file @
a5d30287
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:drawable=
"@drawable/card_state_pressed"
android:state_pressed=
"true"
/>
<item
android:drawable=
"@drawable/card_background"
/>
</selector>
mobile-app/10-31-15/Project/app/src/main/res/drawable/card_state_pressed.xml
0 → 100644
View file @
a5d30287
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item>
<shape
android:shape=
"rectangle"
>
<solid
android:color=
"#ca39883d"
/>
<corners
android:radius=
"2dp"
/>
</shape>
</item>
<item
android:bottom=
"20dp"
android:left=
"0dp"
android:right=
"0dp"
android:top=
"0dp"
>
<shape
android:shape=
"rectangle"
>
<solid
android:color=
"#FF5722"
/>
<corners
android:radius=
"2dp"
/>
</shape>
</item>
</layer-list>
mobile-app/10-31-15/Project/app/src/main/res/layout/activity_login__screen.xml
View file @
a5d30287
...
...
@@ -33,7 +33,6 @@
android:hint=
"Reserve your tickets."
android:layout_gravity=
"center"
android:id=
"@+id/textView"
android:layout_weight=
"2"
android:layout_centerVertical=
"true"
android:layout_centerHorizontal=
"true"
/>
...
...
@@ -74,45 +73,20 @@
android:layout_width=
"wrap_content"
android:layout_gravity=
"center"
android:layout_height=
"wrap_content"
android:layout_weight=
"3"
>
android:layout_weight=
"2"
>
<Button
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"20dp"
android:layout_gravity=
"center"
android:text=
"LOGIN"
android:onClick=
"submit"
android:layout_weight=
"2"
android:id=
"@+id/submit"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textAppearance=
"?android:attr/textAppearanceLarge"
android:text=
"Not yet a member? Sign up"
android:layout_gravity=
"center"
android:id=
"@+id/notYetAMember"
android:layout_weight=
"2"
android:layout_centerVertical=
"true"
android:layout_centerHorizontal=
"true"
/>
</LinearLayout>
<LinearLayout
android:orientation=
"vertical"
android:layout_width=
"wrap_content"
android:layout_gravity=
"center"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textAppearance=
"?android:attr/textAppearanceLarge"
android:text=
"ABOUT"
android:layout_gravity=
"center"
android:id=
"@+id/about"
android:layout_weight=
"2"
android:layout_centerVertical=
"true"
android:layout_centerHorizontal=
"true"
/>
</LinearLayout>
</LinearLayout>
mobile-app/10-31-15/Project/app/src/main/res/layout/cardlayoutattempt.xml
0 → 100644
View file @
a5d30287
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.wdget.CardView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:orientation=
"vertical"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/card_background_selector"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textAppearance=
"?android:attr/textAppearanceMedium"
android:text=
"Medium Text"
android:id=
"@+id/cardLayoutTrial"
android:layout_gravity=
"center_horizontal"
/>
</android.support.v7.wdget.CardView>
\ No newline at end of file
mobile-app/10-31-15/Project/app/src/main/res/layout/fragment_schedules.xml
View file @
a5d30287
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<!--
**************************IMPORTANT***********************************
change this id attribute values as "frag2_icon" and "frag2_text" for
fragment_layout_two.xml and "frag3_icon" and "frag3_text" for
fragment_layout_three.xml
**********************************************************************
-->
<TextView
android:id=
"@+id/frag3_text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"10dp"
android:textAppearance=
"?android:attr/textAppearanceLarge"
android:text=
"Available Schedules"
/>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:orientation=
"vertical"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"#FBE9E7"
>
<LinearLayout
android:id=
"@+id/LinearLayout1"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight =
"0.5"
android:orientation=
"horizontal"
android:gravity=
"center"
>
</LinearLayout>
<ListView
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight =
"3"
android:id=
"@+id/list"
/>
<LinearLayout
android:id=
"@+id/LinearLayout2"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:orientation=
"horizontal"
android:layout_weight =
"1"
android:gravity=
"center"
>
<TextView
android:id=
"@+id/loadLabel"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:text=
"LOAD: "
android:textAppearance=
"?android:attr/textAppearanceLarge"
/>
<TextView
android:id=
"@+id/load"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:text=
"load"
android:textAppearance=
"?android:attr/textAppearanceLarge"
/>
</LinearLayout>
android:layout_height=
"wrap_content"
android:listSelector=
"@android:color/transparent"
android:cacheColorHint=
"@android:color/transparent"
android:divider=
"@null"
android:dividerHeight=
"10dp"
/>
</LinearLayout>
mobile-app/10-31-15/Project/app/src/main/res/layout/item_row.xml
View file @
a5d30287
<?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"
>
android:layout_height=
"match_parent"
android:background=
"@drawable/card_background_selector"
>
<TextView
android:layout_width=
"wrap_content"
...
...
mobile-app/10-31-15/Project/app/src/main/res/menu/menu_action_bar_attempt.xml
View file @
a5d30287
...
...
@@ -10,12 +10,5 @@
android:orderInCategory=
"100"
app:showAsAction=
"ifRoom|collapseActionView"
app:actionViewClass=
"android.support.v7.widget.SearchView"
/>
<item
android:id=
"@+id/action_aboutUs"
android:title=
"About Us"
android:orderInCategory=
"100"
app:showAsAction=
"never"
/>
<item
android:id=
"@+id/action_help"
android:title=
"Help"
android:orderInCategory=
"100"
app:showAsAction=
"never"
/>
</menu>
mobile-app/10-31-15/Project/app/src/main/res/values/strings.xml
View file @
a5d30287
...
...
@@ -12,7 +12,7 @@
<item>
Edit Profile
</item>
<item>
View Past Trips
</item>
<item>
Settings
</item>
<item>
Abo
ut
</item>
<item>
Log O
ut
</item>
</string-array>
<string-array
name=
"list"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment