Weitere ähnliche Inhalte Ähnlich wie アプリのUIを改善するための7ステップ ∼Bump Recorder の UI を設計してみたよ編∼ (20) Kürzlich hochgeladen (20) アプリのUIを改善するための7ステップ ∼Bump Recorder の UI を設計してみたよ編∼ 2. • - uPhyca
• Blog : Y.A.M http://y-anz-m.blogspot.com
• : Android Layout Cookbook
• Twitter : @yanzm
• Android
• GTUG Girls
6. • Instant Heart Rate
• https://market.android.com/details?id=si.modula.android.instantheartrate
• RunKeeper
• https://market.android.com/details?id=com.fitnesskeeper.runkeeper.pro
• Endomondo Sports Tracker
• https://market.android.com/details?id=com.endomondo.android
• Sports Tracker
• https://market.android.com/details?id=com.stt.android
• SportsTracker (by STL)
• https://market.android.com/details?
id=com.sportstracklive.android.ui.activity.lite
• My Tracks
• https://market.android.com/details?id=com.google.android.maps.mytracks
7. My Tracks Sports Tracker (by STL) Sports Tracker
10. • View
• View
• px → dip
layout_weight
16. 1
•
→
•
#00ccff #7fe5ff #006088 #007a98
6
17. • &
→
• &
#000000 #ffffff 1 2
#006088 #007a98
18. 2
• <shape> Action Bar
res/drawable/title_bg.xml
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<gradient
android:angle="90"
android:endColor="#007a98"
android:startColor="#006088" />
</shape>
#006088 #007a98
6
20. •
•
: #e67e75
HSV : 5, 49, 90
: #75b4e6
HSV : 207, 49, 90
: #afe675
HSV : 89, 49, 90
: #f0d67a
HSV : 47, 49, 94
22. Action Bar
• <shape> <selector>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<gradient android:angle="90" android:endColor="#99002e"
android:startColor="#800026" />
<corners android:radius="5dip" />
</shape>
</item>
<item>
<shape>
<gradient android:angle="90" android:endColor="#007a99"
android:startColor="#006088" />
<corners android:radius="5dip" />
</shape>
</item>
</selector>
25. ...
• GPS ON/OFF
←
Intent intent = new Intent
(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.addCategory(Intent.CATEGORY_DEFAULT);
startActivity(intent);
30. ...
•
• Javadoc
• Android AOSP
• ...
• prefix m
• static prefix s
• static final hogehoge
• ....