Discussion Forums  >  Uncategorized

Replies: 4    Views: 500

theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
07/08/11 06:39 AM (14 years ago)

Change Image size on banner for Android

I'm looking to find where you change the size of an image so it when going from Android phone to a android tablet the image will fill the banner at the top of the screen. I asked this once before but I'm unable to locate the post that explained how. Seems everything I search for returns very little. And I know it's out there.
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
07/08/11 07:05 AM (14 years ago)
Located it. /res/layout/act_home.xml Thanks
 
Kikoncuo
Aspiring developer
Profile
Posts: 15
Reg: Jun 29, 2011
Toledo
3,300
like
07/08/11 08:57 AM (14 years ago)
And how do you change it?
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
07/08/11 09:16 AM (14 years ago)
You will find: android:layout_width=300dip android:layout_width=150dip Change those.. I used.. android:layout_width=1100dip android:layout_width=150dip
 
erichopf
buzztouch Evangelist
Profile
Posts: 316
Reg: Mar 14, 2011
NY, NY
3,460
like
07/08/11 09:27 AM (14 years ago)
The only problem I foresee is the fact that the Android tablets on the market are all different sizes and there is no real one size fits all solutions unless the parameters are scalable.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.