title: Right align text in android Webview
body: <p>I have a WebView in my application. I want to align the text in it to from right to left . I tried adding:</p>
  
  <pre><code>     &lt;WebView
          android:id="@+id/content"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:gravity="right"
          android:layout_margin="@dimen/spacing_xsmall" /&gt;
  </code></pre>
  
  <p>this is my code </p>
  
  <pre><code>    &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="@android:color/white"
          android:orientation="vertical"
          android:padding="@dimen/spacing_middle"
          android:visibility="visible"&gt;
  
          &lt;TextView
              android:id="@+id/category"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="end"
              android:background="@color/colorAccentLight"
              android:paddingBottom="@dimen/spacing_xsmall"
              android:paddingLeft="@dimen/spacing_medium"
              android:paddingRight="@dimen/spacing_medium"
              android:paddingTop="@dimen/spacing_xsmall"
              android:text="Category"
              android:textAllCaps="true"
              android:textAppearance="@style/TextAppearance.AppCompat.Body1"
              android:textColor="@android:color/white" /&gt;
  
      &lt;/LinearLayout&gt;
  
      &lt;RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="@color/grey_soft"
          android:paddingBottom="@dimen/spacing_large"
          android:paddingTop="@dimen/spacing_middle"&gt;
  
          &lt;WebView
              android:id="@+id/content"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_margin="@dimen/spacing_xsmall" /&gt;
  
      &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>But this doesn't work for me.
  the textview work fine but the WebView not working ?? 
  How can i resolve the issues </p>
  
  <p>thank you.</p>