title: How to change opacity of background image?
body: <p>Is there any way that I could change the opacity of the background image that I set on the XML file? Also, I wanted to justify the text that I'm going to put in the xml file, however, as I researched for this same issue. Android studio doesnt support justify text yet. However, I tried to change to webview instead of textview however I'am having a lot of errors calling it to my main activity java since I used case statement to call the layouts and the java file of the webview is not fragment but rather activity. Your response would be much appreciated. Thank you</p>
  
  <p>Here is the XML file</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:gravity="center"
  android:orientation="vertical"
  android:background="@drawable/minnions1"
  android:id="@+id/minnions1"
  &gt;
  &lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="Safe and Responsible usage of Computer,Internet and Email"
      android:textColor="@android:color/black"
      android:textSize="20sp"
      android:id="@+id/title1"
      android:layout_marginTop="125dp"
      android:layout_alignParentTop="true"
      android:layout_centerHorizontal="true"
      android:gravity="center"
      /&gt;
  &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:orientation="vertical"
      android:gravity ="center"
      android:fillViewport="true"
      android:layout_alignParentStart="true"
      android:layout_marginTop="100dp"
      android:id="@+id/scrollView"
      &gt;
      &lt;TextView
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:gravity="center_vertical"
          android:textColor="#000"
          android:textColorLink="@android:color/black"
          android:textSize="18sp"
          android:text="Using facilities and equipments should always be safe and useful in Information and Communication Technology (ICT)
  like computer, email, and internet. It is important for us to study the guides and safe usage of computer, internet
  and email in schools.\n \n"
          android:drawablePadding="5dp"
          android:layout_marginLeft="40dp"
          android:layout_marginRight="20dp"
          android:layout_below="@+id/content1"
          android:layout_centerHorizontal="true"
          /&gt;
  &lt;/ScrollView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Also, Here is the java file</p>
  
  <pre><code>package com.android.pet.view;
  
  import android.os.Bundle;
  import android.support.v4.app.Fragment;
  import android.view.LayoutInflater;
  import android.view.View;
  import android.view.ViewGroup;
  
  import com.doepiccoding.navigationdrawer.R;
  
  public class Lesson1 extends Fragment{
  
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
          View rootView = inflater.inflate(R.layout.onepointone, null);
          return rootView;
      }
  }
  </code></pre>