udacity / Android_Me

App that lets you style your own Android! This uses Fragments to create a flexible and responsive UI.
259 stars 1.01k forks source link

Why scaleType for FrameLayout? #3

Open ay3524 opened 7 years ago

ay3524 commented 7 years ago

In the file named activity_android_me at the line number 37 you have used android:scaleType="centerInside" , I can't add inside mine?

vsay01 commented 7 years ago

That is strange. the auto completion of the code in the layout cannot find the scaleType for the Fragment. However, if i typed in android:scaleType="centerInside" in the Framelayout it doesn't give me any compile error. I attached the screenshot. Hope get some more clarification if this is a bug of the IDE.

screen shot 2017-05-06 at 3 59 26 pm
WORMSS commented 7 years ago

See #2