Prepare Drawables and Menus

7 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$15
List Price:  $69.99
You save:  $54.99
€14.02
List Price:  €65.43
You save:  €51.40
£11.86
List Price:  £55.38
You save:  £43.51
CA$20.52
List Price:  CA$95.75
You save:  CA$75.23
A$22.95
List Price:  A$107.11
You save:  A$84.15
S$20.43
List Price:  S$95.36
You save:  S$74.92
HK$117.42
List Price:  HK$547.90
You save:  HK$430.48
CHF 13.56
List Price:  CHF 63.27
You save:  CHF 49.71
NOK kr165.58
List Price:  NOK kr772.60
You save:  NOK kr607.02
DKK kr104.56
List Price:  DKK kr487.88
You save:  DKK kr383.32
NZ$25.25
List Price:  NZ$117.84
You save:  NZ$92.59
د.إ55.09
List Price:  د.إ257.06
You save:  د.إ201.97
৳1,650.32
List Price:  ৳7,700.43
You save:  ৳6,050.10
₹1,251.03
List Price:  ₹5,837.33
You save:  ₹4,586.30
RM71.51
List Price:  RM333.67
You save:  RM262.16
₦19,822.11
List Price:  ₦92,489.99
You save:  ₦72,667.87
₨4,186.29
List Price:  ₨19,533.24
You save:  ₨15,346.94
฿554.75
List Price:  ฿2,588.46
You save:  ฿2,033.71
₺487.61
List Price:  ₺2,275.23
You save:  ₺1,787.61
B$76.74
List Price:  B$358.08
You save:  B$281.34
R281.70
List Price:  R1,314.42
You save:  R1,032.71
Лв27.42
List Price:  Лв127.95
You save:  Лв100.52
₩20,671.32
List Price:  ₩96,452.39
You save:  ₩75,781.06
₪57.27
List Price:  ₪267.23
You save:  ₪209.96
₱864.69
List Price:  ₱4,034.64
You save:  ₱3,169.95
¥2,371.42
List Price:  ¥11,065.06
You save:  ¥8,693.64
MX$257.40
List Price:  MX$1,201.03
You save:  MX$943.63
QR54.82
List Price:  QR255.83
You save:  QR201
P206.98
List Price:  P965.79
You save:  P758.80
KSh1,992.33
List Price:  KSh9,296.24
You save:  KSh7,303.91
E£717.92
List Price:  E£3,349.82
You save:  E£2,631.90
ብር862.97
List Price:  ብር4,026.64
You save:  ብር3,163.67
Kz12,510.90
List Price:  Kz58,375.85
You save:  Kz45,864.95
CLP$14,279.54
List Price:  CLP$66,628.33
You save:  CLP$52,348.79
CN¥108.68
List Price:  CN¥507.11
You save:  CN¥398.43
RD$881.51
List Price:  RD$4,113.13
You save:  RD$3,231.62
DA2,013.19
List Price:  DA9,393.54
You save:  DA7,380.35
FJ$33.93
List Price:  FJ$158.35
You save:  FJ$124.41
Q116.95
List Price:  Q545.71
You save:  Q428.75
GY$3,145.91
List Price:  GY$14,678.83
You save:  GY$11,532.91
ISK kr2,102.08
List Price:  ISK kr9,808.34
You save:  ISK kr7,706.25
DH151.89
List Price:  DH708.72
You save:  DH556.83
L266.54
List Price:  L1,243.72
You save:  L977.17
ден862.65
List Price:  ден4,025.16
You save:  ден3,162.50
MOP$121.25
List Price:  MOP$565.76
You save:  MOP$444.51
N$283.71
List Price:  N$1,323.80
You save:  N$1,040.09
C$553.38
List Price:  C$2,582.07
You save:  C$2,028.69
रु2,004.71
List Price:  रु9,353.99
You save:  रु7,349.28
S/56.48
List Price:  S/263.57
You save:  S/207.08
K58.04
List Price:  K270.82
You save:  K212.78
SAR56.25
List Price:  SAR262.49
You save:  SAR206.23
ZK398.48
List Price:  ZK1,859.31
You save:  ZK1,460.83
L69.85
List Price:  L325.94
You save:  L256.08
Kč352.42
List Price:  Kč1,644.39
You save:  Kč1,291.97
Ft5,500.16
List Price:  Ft25,663.75
You save:  Ft20,163.59
SEK kr163.33
List Price:  SEK kr762.14
You save:  SEK kr598.80
ARS$13,138.55
List Price:  ARS$61,304.48
You save:  ARS$48,165.93
Bs104.28
List Price:  Bs486.59
You save:  Bs382.30
COP$59,478.57
List Price:  COP$277,527.04
You save:  COP$218,048.46
₡7,640.51
List Price:  ₡35,650.64
You save:  ₡28,010.12
L371.31
List Price:  L1,732.56
You save:  L1,361.24
₲111,965.75
List Price:  ₲522,432.19
You save:  ₲410,466.44
$U579.58
List Price:  $U2,704.33
You save:  $U2,124.75
zł60.45
List Price:  zł282.07
You save:  zł221.62
Already have an account? Log In

Transcript

Nervous any project you will be needing to use some images, some static images, of course in your project. Okay. So what I've done in my case is that I've added several images later. Some of them I release some of them actually one is okay, so we have several images, Reacher and these are just static images so you can add as many images as you want. Okay. Now, if you don't already projected them, you can just go ahead and delete some of these images and still be able to search for them and then delete them.

Okay. So basically, these are images, okay, what you need to do is that you need to add these images feature. And then we also have these two XML files which are going to be very important. These are trouble first, of course selector section. This is the toggle button for RSI. And of course this is going to be included in the Drobo.

Then you also go to the theme color feature where we're going to add our current primary. So basically these are very important feature. We're going to add them alongside our static images as you guys can see, okay, so we add them in October's Yeah. So basically what we'll do is add your images, the images, the use of casino project feature, but also make sure that these two files then select section to group because this will confuse you to notice a problem as well as the thing color Okay, so I've temperature and that's it. Those are our Global's. Let's come over to our menu.

So if we don't have our menu folder writer, or we need to these two come and then credit Okay, click on new direct So, directory, choose it, and then come call it menu. Then of course, once we've done that, we're going to add our menu first. Now we're going to start to the bottom navigation main. Now, of course, this is going to present the bottom menu, this bottom tabs to have dinner. You can see we have three action home action orders, and action exit. Now, if we come over to the code, he can see Rachel Okay, of course, your menu has to start with this particular element, that element, then of course, its children will be this particular menu items.

So I turn for example, then action home, then in about two and then home, and then it's going to be shown if this home of course, we have pursued the arcade. So basically, if you click the home, this is going to be the main, the main of view and then we have the cave which is To list of course, our or our data, okay, then exit when clicked will exit application. So this, this is it. This is the book on keshawn main detects and then once you've done that, we're going to move over to our next please add a new XML file. Okay, go to new then menu resourceful or you can alternatively just add an empty XML file, then paste the following code. Okay, of course, it has to start with the menu, then this is going to have of course, one item.

So this detail page menu This is going to be rendered, of course in our Detail page detail pages that activity which is going to show our dairy that it has for our dairy. So we're going to have this menu item which when clicked will open for us they delete pitch up the pitch. So this is it. And then, of course Detail page menu, so please add it, then of course, you're going to go to the diary's pitch menu, or there is page of course, our main pitch. Now, of course, this shouldn't be too challenging is our course. It should be the database activity.

Okay, so here we have our database, page menu, of course, you can see the items that you have, we have the ADD, we have the refresh, and then you have this switch view. So these are going to be, of course, our three menu items. And this of course, is going to be shown, of course, in our database activity. There is activities that activity which was listing, of course, our database, and then allowing us to filter them based on bits. Okay, so this is it. These are going to be online.

Anytime, so that is pitch menu. Then of course, go add a new XML file, of course, call it edit item menu. So edit item menu, basically, this menu file, this is going to be fretted, of course in our cloud activity for the sake of editing, okay, so remember, of course, our buttons for adding, editing, deleting, we're going to render them in our toolbar. So, for example, this particular edit item menu, this is going to be, of course, inflated and print it not true, but if you open up productivity for the sake of anything, so you can see for example, once you've edited, then you can click Save to save. You can also click Delete, if you want to delete and if you click Undo or then of course, it will redirect us of course, to the there is activity. So this edit item menu, basically is going to be If you cannot conductivity for the sequel editing, or updating, of course, our database.

Lastly, we have the new item menu. So what is thrown, of course, as you can imagine its role is to allow us to insert, of course into our SQL a database feature. So of course, you can see we have two items the same as well as they are now, seven in this case, of course, is still the traitor, but you can see the ID is in submenu item. So this particular menu will be inflated, of course, if you open up productivity for the sake of adding a new diary, okay, so you want to add a new diary and look and productivity, then this is the menu that is going to be of course inflated and printed in October. It allows of questions such as who can also view her Of course to take us to the next Is activity so this is it case is it.

These are our menu resources. Make sure you add them. Of course before we move to our Java code later on, let's proceed.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.