• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Recent content by Woman In Love

  1. Woman In Love

    NullPointerException when using getLayoutParams

    Hi, I'm trying to set height and width to Relative Layout Programmaticaly: final RelativeLayout Frame1 = (RelativeLayout) findViewById(R.id.Frame1); Frame1.getLayoutParams().width = X; Frame1.getLayoutParams().height = Y; Works on smartphone but crashes on Ipad. I tried also...
  2. Woman In Love

    Apps gridView checked Items

    Hi, I have a gridView of items that represent options for answers to a question. If the correct answer is chosen from the grid, I want it to be marked as correct (and the same for incorrect answer). Is there an easy way to this without changing the images programmatically? Thank you.
  3. Woman In Love

    Apps Image size - support multiple screens

    Hi, I have an Image of size 100X100 px and dpi 96. I want to make sure that the image is good enough for all screen sizes. I don't show it on all the screen, but just on a small part of it. On Nexus 5x which has 683X411 dp screen size, I show the picture on 120X120 dp. On screen size of...