Skip to content

Commit 53f226b

Browse files
committed
Fix Advice Activity background and text color
1 parent 24c54ae commit 53f226b

File tree

6 files changed

+3
-1
lines changed

6 files changed

+3
-1
lines changed

.idea/misc.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/java/com/example/antidepression/AdviceScreenSlidePageFragment.java

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,
2828
R.layout.advice_fragment_screen_slide_page, container, false);
2929
TextView textView = (TextView) (rootView.findViewById(R.id.textView));
3030
textView.setText(advice);
31+
textView.setTextColor(0xFFFFFFFF);
32+
textView.setTextSize(26);
3133

3234
ImageView backgroundImage = (ImageView) (rootView.findViewById(R.id.backgound_image));
3335
FrameLayout parent = (FrameLayout) (rootView.findViewById(R.id.parent));

app/src/main/res/drawable/bg0.jpg

528 KB
Loading

app/src/main/res/drawable/bg1.jpg

-201 KB
Loading

app/src/main/res/drawable/bg2.jpg

-276 KB
Loading

app/src/main/res/drawable/bg7.jpg

114 KB
Loading

0 commit comments

Comments
 (0)