-1

I want to create an landing view for my application a user log in they need to land on this activity page (Image 1) if they click on any of the icon they will be take to the activity page of that activity. I want it needed to be change when user turn their screen to vertical or horizontal. But I don't know where to start.

Below I have added two images to show what I want to implement in my application. This is for my college project. In the landing view it have alert box and another box text from MySQL database but I am stuck in all points.

Image 1

enter image description here

Image 2

enter image description here

halfer
  • 19,824
  • 17
  • 99
  • 186
Parvathy Nair
  • 951
  • 7
  • 10

2 Answers2

1

what you need is a dashboard activity/ fragment...

something like this. the rotation of the screen is not a big problem, in fact, with the sdk you can design your activities and define behaviours of completely other layouts depending on the screen size, orienttation etc...

The work to do is not complicated but you need to do couple of stuff first, (define some layouts, classese etc,)

my recomendation is to take a look at this tutorial, and develope your app by following this steps

enter image description here

ΦXocę 웃 Пepeúpa ツ
  • 47,427
  • 17
  • 69
  • 97
  • Xoce ... It was an user dashboard when they log in they will be taken to this activity screen. If they click on any of they we need them to take to that activity screen example if they click on profile they will be take to profile activity and their profile will be show there.. – Parvathy Nair Feb 19 '16 at 16:40
  • Xoce can you to tell me how to do it.. I have search in google for an answer but didn't find and answer for it.. Please help me – Parvathy Nair Feb 19 '16 at 16:43
  • I put the link to the tutorial in the answer... – ΦXocę 웃 Пepeúpa ツ Feb 19 '16 at 16:45
  • Thanks I will check it now .. thanks for the support If facing problems I will update it here.. Thank you.. – Parvathy Nair Feb 19 '16 at 16:48
-1

1 -

you can do it by set ImageButton in your main layout when click in any image will open new layout

show this link is simple code but he use button you can make some code and use ImageButton not Button only convert type name from button to ImageButton this is link= : https://stackoverflow.com/a/10936133/4967569

2 - screen to vertical or horizonta

i think you need use any size by Formula "dp"

3 -

sorry i cant help you in Database I have No experience

Community
  • 1
  • 1
Mohammed Magdy
  • 114
  • 1
  • 7