Commit f7ec075b1bd7bb4a26211501ebd180b4e74fd184
1 parent
13dd747f
- change primarycolor
Showing
2 changed files
with
3 additions
and
11 deletions
app/src/main/java/net/devfac/userstory/IndexActivitiy.java
... | ... | @@ -35,19 +35,11 @@ public class IndexActivitiy extends Activity { |
35 | 35 | mImageButtonIndexStart.setOnClickListener(new View.OnClickListener() { |
36 | 36 | @Override |
37 | 37 | public void onClick(View v) { |
38 | - PreferenceUtil.getInstance(IndexActivitiy.this).putIsFirstLaunched(true); | |
38 | + PreferenceUtil.getInstance(IndexActivitiy.this).putIsFirstLaunched(false); | |
39 | 39 | startActivity(new Intent(IndexActivitiy.this, MainActivity.class)); |
40 | 40 | finish(); |
41 | 41 | } |
42 | 42 | }); |
43 | - | |
44 | -// mImageViewIndexBackground.setImageBitmap(decodeSampledBitmapFromResource(getResources(), | |
45 | -// R.drawable.index_background, metrics.widthPixels, | |
46 | -// metrics.heightPixels)); | |
47 | - | |
48 | -// mImageViewIndexBackground.setAdjustViewBounds(true); | |
49 | - | |
50 | -// mImageViewIndexBackground.setScaleType(ImageView.ScaleType.CENTER_CROP); | |
51 | 43 | } |
52 | 44 | |
53 | 45 | @Override | ... | ... |
app/src/main/res/values/colors.xml
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <resources> |
3 | - <color name="colorPrimary">#3F51B5</color> | |
4 | - <color name="colorPrimaryDark">#303F9F</color> | |
3 | + <color name="colorPrimary">#9dbb12</color> | |
4 | + <color name="colorPrimaryDark">#748a0c</color> | |
5 | 5 | <color name="colorAccent">#FF4081</color> |
6 | 6 | </resources> | ... | ... |