title: Removing duplicated animation attributes in Android Navigation Component
body: <p>Is it possible to get rid of the code duplication in the navigation graph in the situation where multiple <code>actions</code> have exactly the same animations?</p>
  
  <p>Here is an example:</p>
  
  <pre><code>&lt;fragment
      android:id="@+id/loginMethod"
      android:name="com.package.LoginMethodFragment"
      tools:layout="@layout/fragment_login_method"&gt;
  
      &lt;action
          android:id="@+id/action_loginMethod_to_email"
          app:destination="@id/email"
          app:enterAnim="@anim/slide_in_right"
          app:exitAnim="@anim/slide_out_left"
          app:popEnterAnim="@anim/slide_in_left"
          app:popExitAnim="@anim/slide_out_right" /&gt;
  
      &lt;action
          android:id="@+id/action_loginMethod_to_password"
          app:destination="@id/password"
          app:enterAnim="@anim/slide_in_right"
          app:exitAnim="@anim/slide_out_left"
          app:popEnterAnim="@anim/slide_in_left"
          app:popExitAnim="@anim/slide_out_right" /&gt;
  &lt;/fragment&gt;
  </code></pre>
  
  <p>Basically I'm looking for a method which allows me to declare all four <code>app:*Anim</code> attributes in one place and apply to both <code>actions</code>.
  In the case of layouts, I can extract style with duplicated attributes. Does Navigation Component have a similar concept?</p>