Skip to content

Commit

Permalink
added link between pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Monni committed Jan 23, 2015
1 parent 6b55bc1 commit 3bb8f3b
Show file tree
Hide file tree
Showing 5 changed files with 360 additions and 189 deletions.
17 changes: 17 additions & 0 deletions eco_app/res/color/text_selector.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>

<!-- For the font selection states to work, a drawable needs to be specified as well
(even though it is not used) not sure why.-->

<selector xmlns:android="http://schemas.android.com/apk/res/android" >

<!-- Tab is active -->
<item android:state_checked="true"
android:color="#FFAA00"
/>

<!-- Default -->
<item android:color="#22FF22"
/>

</selector>
4 changes: 3 additions & 1 deletion eco_app/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
android:layout_height="wrap_content"
android:layout_gravity="top"
android:paddingBottom="4dp"
android:paddingTop="4dp" />
android:paddingTop="4dp"

/>

</most.demo.ecoapp.MostViewPager>
</LinearLayout>
Loading

0 comments on commit 3bb8f3b

Please sign in to comment.